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.00115/0.00115, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001143/0.001143, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9126/0.9126, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 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.5608/0.5608, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.804e-05, allocations: 3.828 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002525/0.002553, allocations: 1.605 MB / 0.5557 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008745/0.003427, allocations: 0.6543 MB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.003509, allocations: 0 / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.003681, allocations: 23.73 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.003894, allocations: 39.77 kB / 0.5564 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.004294, allocations: 127.6 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.004512, allocations: 195.5 kB / 0.5568 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004629, allocations: 17.62 kB / 0.5568 GB, free: 124 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.004907, allocations: 123.8 kB / 0.5569 GB, free: 0 / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.005053, allocations: 71.91 kB / 0.557 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.005098, allocations: 16 kB / 0.557 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.005198, allocations: 28 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.005305, allocations: 31.91 kB / 0.557 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.005387, allocations: 51.91 kB / 0.5571 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.005714, allocations: 199.4 kB / 0.5573 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.005719, allocations: 4 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005721, allocations: 3.938 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.005728, allocations: 4 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB 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.0006591/0.006387, allocations: 492.4 kB / 0.5578 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.006438, allocations: 12.62 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.00648, allocations: 38.75 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.00664, allocations: 28.83 kB / 0.5578 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.006986, allocations: 181.6 kB / 0.558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.007003, allocations: 12.38 kB / 0.558 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.007037, allocations: 20.36 kB / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.00728, allocations: 169.6 kB / 0.5582 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007288, allocations: 192 / 0.5582 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.007303, allocations: 7.938 kB / 0.5582 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.007308, allocations: 0 / 0.5582 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.007443, allocations: 131.3 kB / 0.5583 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.00793, allocations: 359.8 kB / 0.5587 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.008103, allocations: 141.9 kB / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.008216, allocations: 132.2 kB / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.008242, allocations: 0 / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.008446, allocations: 230.1 kB / 0.5592 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.008447, allocations: 0 / 0.5592 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0005211/0.008968, allocations: 487.7 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.009061, allocations: 166.2 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.009201, allocations: 183.5 kB / 0.56 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.009218, allocations: 29.7 kB / 0.56 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.009273, allocations: 108.4 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.009296, allocations: 32.02 kB / 0.5601 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.009351, allocations: 41.7 kB / 0.5602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.009432, allocations: 326.8 kB / 0.5605 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.009549, allocations: 170.6 kB / 0.5606 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.00968, allocations: 217.1 kB / 0.5608 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.009896, allocations: 316.8 kB / 0.5611 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.009899, allocations: 0 / 0.5611 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000558/0.01046, allocations: 455 kB / 0.5616 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.01052, allocations: 118.8 kB / 0.5617 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01053, allocations: 4 kB / 0.5617 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.01054, allocations: 4 kB / 0.5617 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.01063, allocations: 19.92 kB / 0.5617 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01064, allocations: 0 / 0.5617 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.0107, allocations: 28.12 kB / 0.5617 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01072, allocations: 12 kB / 0.5617 GB, free: 10.45 MB / 0.5261 GB 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.0001279/0.01085, allocations: 197.1 kB / 0.5619 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.01087, allocations: 19.91 kB / 0.562 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.01092, allocations: 21.45 kB / 0.562 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01092, allocations: 0 / 0.562 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.01093, allocations: 0 / 0.562 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01093, allocations: 0 / 0.562 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.01143, allocations: 0.5979 MB / 0.5626 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01144, allocations: 7.938 kB / 0.5626 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.01147, allocations: 15.98 kB / 0.5626 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01148, allocations: 0 / 0.5626 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01149, allocations: 12 kB / 0.5626 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01149, allocations: 0 / 0.5626 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01149, allocations: 0 / 0.5626 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.01184, allocations: 466 kB / 0.563 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.01185, allocations: 15.84 kB / 0.5631 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.01188, allocations: 8 kB / 0.5631 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.01194, allocations: 15.98 kB / 0.5631 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.01198, allocations: 11.97 kB / 0.5631 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.01199, allocations: 11.94 kB / 0.5631 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.01206, allocations: 128.1 kB / 0.5632 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01206, allocations: 0 / 0.5632 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002096/0.01227, allocations: 39.94 kB / 0.5633 GB, free: 8.762 MB / 0.5261 GB 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.0006995/0.01297, allocations: 1.024 MB / 0.5643 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.01335, allocations: 0.5152 MB / 0.5648 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01335, allocations: 0 / 0.5648 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.01349, allocations: 246.1 kB / 0.565 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01371, allocations: 16.44 kB / 0.565 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.01605, allocations: 2.643 MB / 0.5676 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.489e-05/0.01614, allocations: 97.31 kB / 0.5677 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.231e-05/0.01623, allocations: 20.47 kB / 0.5677 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.01631, allocations: 32.48 kB / 0.5677 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/0.01631, allocations: 4 kB / 0.5677 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.03906, allocations: 4.453 MB / 0.5721 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.539, allocations: 18.62 kB / 0.5721 GB, free: 15.46 MB / 0.5417 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.190533031709492] Failed to read output from testmodel.py, exit status != 0: 7.620068185962737 7.637512157 7.628620541 Calling exit ...