Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5123/0.5123, allocations: 87.51 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 106.1 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009897/0.0009898, allocations: 47.92 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.304, allocations: 70.06 MB / 0.5575 GB, free: 44.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002497/0.3066, allocations: 1.655 MB / 0.5591 GB, free: 43.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.3073, allocations: 0.6319 MB / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.3074, allocations: 0 / 0.5597 GB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.3076, allocations: 11.94 kB / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.3077, allocations: 46.14 kB / 0.5598 GB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.3081, allocations: 103.3 kB / 0.5599 GB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3082, allocations: 159.6 kB / 0.56 GB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3083, allocations: 29.09 kB / 0.5601 GB, free: 42.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3084, allocations: 79.75 kB / 0.5601 GB, free: 42.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.3085, allocations: 87.66 kB / 0.5602 GB, free: 42.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3086, allocations: 8 kB / 0.5602 GB, free: 42.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.843e-05/0.3086, allocations: 16 kB / 0.5602 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.3087, allocations: 27.91 kB / 0.5603 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.3088, allocations: 67.66 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.309, allocations: 161.7 kB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.309, allocations: 0 / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.309, allocations: 3.938 kB / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.309, allocations: 0 / 0.5605 GB, free: 42.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005449/0.3095, allocations: 0.5524 MB / 0.561 GB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3096, allocations: 12.03 kB / 0.561 GB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.3096, allocations: 12.84 kB / 0.5611 GB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3099, allocations: 236.7 kB / 0.5613 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3099, allocations: 12.38 kB / 0.5613 GB, free: 41.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.3099, allocations: 12.31 kB / 0.5613 GB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3102, allocations: 117.7 kB / 0.5614 GB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3102, allocations: 4 kB / 0.5614 GB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3102, allocations: 4 kB / 0.5614 GB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3102, allocations: 4 kB / 0.5614 GB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3104, allocations: 67.94 kB / 0.5615 GB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.311, allocations: 424.4 kB / 0.5619 GB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3111, allocations: 94.47 kB / 0.562 GB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3113, allocations: 76.81 kB / 0.5621 GB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3113, allocations: 0 / 0.5621 GB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3115, allocations: 182.8 kB / 0.5622 GB, free: 40.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3115, allocations: 0 / 0.5622 GB, free: 40.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005899/0.3121, allocations: 356.9 kB / 0.5626 GB, free: 39.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3122, allocations: 166.2 kB / 0.5627 GB, free: 39.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3123, allocations: 174.6 kB / 0.5629 GB, free: 39.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3123, allocations: 33.7 kB / 0.5629 GB, free: 39.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.3124, allocations: 108.4 kB / 0.563 GB, free: 39.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3124, allocations: 27.64 kB / 0.5631 GB, free: 39.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.3125, allocations: 37.7 kB / 0.5631 GB, free: 39.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.3125, allocations: 330.8 kB / 0.5634 GB, free: 38.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3126, allocations: 51.97 kB / 0.5635 GB, free: 38.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3128, allocations: 102.8 kB / 0.5636 GB, free: 38.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.313, allocations: 316.9 kB / 0.5639 GB, free: 38.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.313, allocations: 0 / 0.5639 GB, free: 38.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003974/0.3134, allocations: 348 kB / 0.5642 GB, free: 37.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.3135, allocations: 120.7 kB / 0.5643 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3135, allocations: 4 kB / 0.5643 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3135, allocations: 256 / 0.5643 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3136, allocations: 19.98 kB / 0.5643 GB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3136, allocations: 7.938 kB / 0.5643 GB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/0.3137, allocations: 15.84 kB / 0.5644 GB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.3137, allocations: 15.98 kB / 0.5644 GB, free: 37.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.3139, allocations: 199.8 kB / 0.5646 GB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3139, allocations: 11.91 kB / 0.5646 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.314, allocations: 21.39 kB / 0.5646 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.314, allocations: 4 kB / 0.5646 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.314, allocations: 7.984 kB / 0.5646 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.314, allocations: 0 / 0.5646 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.3145, allocations: 0.5797 MB / 0.5652 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3145, allocations: 7.938 kB / 0.5652 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.3146, allocations: 11.98 kB / 0.5652 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3146, allocations: 0 / 0.5652 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3146, allocations: 4 kB / 0.5652 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.3147, allocations: 8.266 kB / 0.5652 GB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3147, allocations: 7.875 kB / 0.5652 GB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.3153, allocations: 1.028 MB / 0.5662 GB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.3153, allocations: 92.86 kB / 0.5663 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3154, allocations: 16 kB / 0.5663 GB, free: 35.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3155, allocations: 7.984 kB / 0.5663 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3155, allocations: 7.984 kB / 0.5663 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3156, allocations: 8 kB / 0.5663 GB, free: 35.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.3156, allocations: 132.3 kB / 0.5665 GB, free: 35.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3156, allocations: 0 / 0.5665 GB, free: 35.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.316, allocations: 36 kB / 0.5665 GB, free: 35.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.3162, allocations: 126.2 kB / 0.5666 GB, free: 35.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3166, allocations: 361.4 kB / 0.567 GB, free: 34.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3166, allocations: 0 / 0.567 GB, free: 34.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3168, allocations: 215.1 kB / 0.5672 GB, free: 34.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.317, allocations: 23.92 kB / 0.5672 GB, free: 34.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.3176, allocations: 452.6 kB / 0.5676 GB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3177, allocations: 0.7082 MB / 0.5683 GB, free: 33.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.771e-05/0.3178, allocations: 20.53 kB / 0.5683 GB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3178, allocations: 15.44 kB / 0.5684 GB, free: 33.31 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3178, allocations: 4 kB / 0.5684 GB, free: 33.3 MB / 410.7 MB Notification: Performance of Templates: time 0.004027/0.3218, allocations: 2.042 MB / 0.5704 GB, free: 31.29 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)