Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006818/0.0006853, allocations: 93.17 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007373/0.0007373, allocations: 177.7 kB / 16.58 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6106/0.6106, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002563, allocations: 8 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.001593/0.1211, allocations: 1.364 MB / 0.5582 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1227, allocations: 1.386 MB / 0.5596 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.1227, allocations: 0 / 0.5596 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.1229, allocations: 39.77 kB / 0.5596 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1231, allocations: 55.77 kB / 0.5597 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1233, allocations: 99.73 kB / 0.5598 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1235, allocations: 103.6 kB / 0.5599 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.1235, allocations: 9.125 kB / 0.5599 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.954e-05/0.1236, allocations: 55.77 kB / 0.5599 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1238, allocations: 49.64 kB / 0.56 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1238, allocations: 4 kB / 0.56 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.445e-05/0.1239, allocations: 47.97 kB / 0.56 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.124, allocations: 19.92 kB / 0.56 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.124, allocations: 41.64 kB / 0.5601 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1242, allocations: 108 kB / 0.5602 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1242, allocations: 7.984 kB / 0.5602 GB, free: 8.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1242, allocations: 4 kB / 0.5602 GB, free: 8.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1242, allocations: 0 / 0.5602 GB, free: 8.246 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004794/0.1247, allocations: 426.8 kB / 0.5606 GB, free: 7.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1247, allocations: 8.031 kB / 0.5606 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.1247, allocations: 34.56 kB / 0.5606 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1248, allocations: 11.91 kB / 0.5607 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.125, allocations: 210.8 kB / 0.5609 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.125, allocations: 4 kB / 0.5609 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.125, allocations: 4 kB / 0.5609 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1252, allocations: 109 kB / 0.561 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1253, allocations: 0 / 0.561 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1253, allocations: 0 / 0.561 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1253, allocations: 4 kB / 0.561 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1254, allocations: 55.95 kB / 0.561 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1256, allocations: 227.3 kB / 0.5612 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1259, allocations: 119.8 kB / 0.5614 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.126, allocations: 50.62 kB / 0.5614 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.126, allocations: 4 kB / 0.5614 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1262, allocations: 109.9 kB / 0.5615 GB, free: 6.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1262, allocations: 3.938 kB / 0.5615 GB, free: 6.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004084/0.1267, allocations: 177.4 kB / 0.5617 GB, free: 6.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1267, allocations: 136.8 kB / 0.5618 GB, free: 6.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1269, allocations: 184.4 kB / 0.562 GB, free: 6.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1269, allocations: 29.7 kB / 0.562 GB, free: 6.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.127, allocations: 100.1 kB / 0.5621 GB, free: 5.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.127, allocations: 19.8 kB / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.127, allocations: 0 / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.1271, allocations: 322.8 kB / 0.5624 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.1272, allocations: 39.97 kB / 0.5625 GB, free: 5.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1273, allocations: 68.22 kB / 0.5625 GB, free: 5.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.1274, allocations: 44 kB / 0.5626 GB, free: 5.488 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1274, allocations: 0 / 0.5626 GB, free: 5.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002607/0.1277, allocations: 137.4 kB / 0.5627 GB, free: 5.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1277, allocations: 8.094 kB / 0.5627 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1277, allocations: 0 / 0.5627 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1277, allocations: 7.953 kB / 0.5627 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1279, allocations: 27.92 kB / 0.5628 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1279, allocations: 7.984 kB / 0.5628 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.1279, allocations: 16.23 kB / 0.5628 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.128, allocations: 0 / 0.5628 GB, free: 5.281 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/0.1281, allocations: 133.8 kB / 0.5629 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1281, allocations: 15.81 kB / 0.5629 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.1281, allocations: 13.41 kB / 0.5629 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1281, allocations: 7.953 kB / 0.5629 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1282, allocations: 0 / 0.5629 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1282, allocations: 3.984 kB / 0.5629 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.1283, allocations: 201.6 kB / 0.5631 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1283, allocations: 0 / 0.5631 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.1284, allocations: 15.94 kB / 0.5632 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.1284, allocations: 8 kB / 0.5632 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1284, allocations: 3.984 kB / 0.5632 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1284, allocations: 4 kB / 0.5632 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1284, allocations: 3.953 kB / 0.5632 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.1287, allocations: 174.6 kB / 0.5633 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.1288, allocations: 85.02 kB / 0.5634 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1288, allocations: 7.984 kB / 0.5634 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.1289, allocations: 8 kB / 0.5634 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1289, allocations: 15.88 kB / 0.5635 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1289, allocations: 12.12 kB / 0.5635 GB, free: 4.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.129, allocations: 140.7 kB / 0.5636 GB, free: 4.344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1291, allocations: 3.938 kB / 0.5636 GB, free: 4.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1293, allocations: 32 kB / 0.5636 GB, free: 4.309 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.1305, allocations: 1.052 MB / 0.5647 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1308, allocations: 95.88 kB / 0.5647 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1308, allocations: 0 / 0.5647 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1309, allocations: 48.22 kB / 0.5648 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1312, allocations: 28.59 kB / 0.5648 GB, free: 3.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1323, allocations: 0.8092 MB / 0.5656 GB, free: 2.375 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1326, allocations: 0.7043 MB / 0.5663 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.1326, allocations: 32.45 kB / 0.5663 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.1327, allocations: 39.42 kB / 0.5664 GB, free: 1.574 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1327, allocations: 0 / 0.5664 GB, free: 1.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.1457, allocations: 3.301 MB / 0.5696 GB, free: 14.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.1459, allocations: 222 kB / 0.5698 GB, free: 14.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.666, allocations: 0 / 0.5698 GB, free: 14.18 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) Environment - environmentSimulation: