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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 77.17 kB / 19.93 MB, free: 1.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 171.4 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8983/0.8983, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.403e-05, allocations: 5.641 kB / 0.5547 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002962/0.002986, allocations: 1.612 MB / 0.5562 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.004219, allocations: 0.6621 MB / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.004294, allocations: 0 / 0.5569 GB, free: 348 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.004469, allocations: 23.8 kB / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.004707, allocations: 50.5 kB / 0.557 GB, free: 276 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.005152, allocations: 119.7 kB / 0.5571 GB, free: 156 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.00545, allocations: 199.4 kB / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005555, allocations: 17.62 kB / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.005804, allocations: 111.8 kB / 0.5574 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.005942, allocations: 75.78 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.005983, allocations: 12 kB / 0.5575 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.006074, allocations: 35.92 kB / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.006166, allocations: 27.91 kB / 0.5575 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.006293, allocations: 55.89 kB / 0.5576 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.006601, allocations: 199.4 kB / 0.5578 GB, free: 15.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006604, allocations: 0 / 0.5578 GB, free: 15.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006605, allocations: 4 kB / 0.5578 GB, free: 15.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.00661, allocations: 0 / 0.5578 GB, free: 15.43 MB / 478.1 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.0007214/0.007331, allocations: 496.4 kB / 0.5582 GB, free: 14.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.007374, allocations: 12.62 kB / 0.5583 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.007558, allocations: 24.83 kB / 0.5583 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.007928, allocations: 181.7 kB / 0.5585 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.00795, allocations: 12.38 kB / 0.5585 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.00798, allocations: 12.31 kB / 0.5585 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.008317, allocations: 173.6 kB / 0.5586 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.008328, allocations: 192 / 0.5586 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.008348, allocations: 12.06 kB / 0.5587 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.008353, allocations: 4 kB / 0.5587 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.008591, allocations: 123.3 kB / 0.5588 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.009217, allocations: 344.2 kB / 0.5591 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.009474, allocations: 145.9 kB / 0.5592 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.009667, allocations: 120.2 kB / 0.5594 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.009695, allocations: 7.922 kB / 0.5594 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.01002, allocations: 234.1 kB / 0.5596 GB, free: 13.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.01002, allocations: 0 / 0.5596 GB, free: 13.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.000848/0.01087, allocations: 483.8 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.01099, allocations: 174.2 kB / 0.5602 GB, free: 12.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.01117, allocations: 175.6 kB / 0.5604 GB, free: 12.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.0112, allocations: 29.7 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.01129, allocations: 112.3 kB / 0.5605 GB, free: 12.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.01132, allocations: 31.78 kB / 0.5606 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.0114, allocations: 37.7 kB / 0.5606 GB, free: 12.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.01156, allocations: 326.8 kB / 0.5609 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.01178, allocations: 162.7 kB / 0.5611 GB, free: 11.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.01208, allocations: 217.6 kB / 0.5613 GB, free: 11.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.01246, allocations: 308.9 kB / 0.5616 GB, free: 11.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01246, allocations: 0 / 0.5616 GB, free: 11.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006402/0.0131, allocations: 470.9 kB / 0.562 GB, free: 10.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.0132, allocations: 123.1 kB / 0.5621 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01321, allocations: 0 / 0.5621 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01322, allocations: 4 kB / 0.5621 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01334, allocations: 23.86 kB / 0.5622 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.01335, allocations: 4 kB / 0.5622 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.01345, allocations: 12.2 kB / 0.5622 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.01347, allocations: 19.98 kB / 0.5622 GB, free: 10.36 MB / 478.1 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.0001873/0.01366, allocations: 197.9 kB / 0.5624 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.0137, allocations: 19.84 kB / 0.5624 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.01374, allocations: 17.47 kB / 0.5624 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.01374, allocations: 3.984 kB / 0.5624 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.01375, allocations: 0 / 0.5624 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01375, allocations: 4 kB / 0.5624 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.01454, allocations: 0.5749 MB / 0.563 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01454, allocations: 4 kB / 0.563 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.01461, allocations: 11.98 kB / 0.563 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01461, allocations: 0 / 0.563 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.01463, allocations: 15.98 kB / 0.563 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01463, allocations: 3.938 kB / 0.563 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01464, allocations: 0 / 0.563 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.01527, allocations: 470 kB / 0.5635 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.01529, allocations: 11.91 kB / 0.5635 GB, free: 8.918 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.01532, allocations: 4 kB / 0.5635 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01543, allocations: 8 kB / 0.5635 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.01548, allocations: 15.97 kB / 0.5635 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.0155, allocations: 11.98 kB / 0.5635 GB, free: 8.879 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.01563, allocations: 128.1 kB / 0.5636 GB, free: 8.754 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01563, allocations: 0 / 0.5636 GB, free: 8.754 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000287/0.01591, allocations: 32 kB / 0.5637 GB, free: 8.723 MB / 478.1 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.0002827/0.0162, allocations: 130.7 kB / 0.5638 GB, free: 8.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006644/0.01686, allocations: 0.5152 MB / 0.5643 GB, free: 7.988 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01686, allocations: 0 / 0.5643 GB, free: 7.988 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.01717, allocations: 242.1 kB / 0.5645 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.01749, allocations: 31.7 kB / 0.5646 GB, free: 7.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.01827, allocations: 345.4 kB / 0.5649 GB, free: 7.312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.01839, allocations: 97.31 kB / 0.565 GB, free: 7.195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.105e-05/0.01846, allocations: 24.45 kB / 0.565 GB, free: 7.172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.0185, allocations: 16.48 kB / 0.565 GB, free: 7.156 MB / 478.1 MB Notification: Performance of SimCode: time 3.4e-07/0.0185, allocations: 0 / 0.565 GB, free: 7.156 MB / 478.1 MB Notification: Performance of Templates: time 0.006405/0.0249, allocations: 2.165 MB / 0.5671 GB, free: 5.059 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.156032856553793] Failed to read output from testmodel.py, exit status != 0: 0.03361361473798752 0.04819883399999994 0.03858440099999994 Calling exit ...