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.001149/0.001149, allocations: 106 kB / 16.4 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7584/0.7584, allocations: 122.8 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.34 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 77.93 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002888/0.1192, allocations: 1.665 MB / 0.6457 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1215, allocations: 1.508 MB / 0.6471 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.1216, allocations: 4 kB / 0.6472 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.1219, allocations: 43.77 kB / 0.6472 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1222, allocations: 67.61 kB / 0.6473 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1225, allocations: 121.5 kB / 0.6474 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1227, allocations: 123.6 kB / 0.6475 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.1228, allocations: 9.125 kB / 0.6475 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.123, allocations: 55.77 kB / 0.6476 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.1232, allocations: 55.7 kB / 0.6476 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1232, allocations: 8 kB / 0.6476 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1233, allocations: 67.95 kB / 0.6477 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.1234, allocations: 19.92 kB / 0.6477 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.1235, allocations: 43.73 kB / 0.6477 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1237, allocations: 151.6 kB / 0.6479 GB, free: 5.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1237, allocations: 0 / 0.6479 GB, free: 5.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1237, allocations: 0 / 0.6479 GB, free: 5.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1238, allocations: 0 / 0.6479 GB, free: 5.617 MB / 494.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.0006043/0.1244, allocations: 448.5 kB / 0.6483 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1244, allocations: 12.62 kB / 0.6483 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.1244, allocations: 38.75 kB / 0.6484 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1245, allocations: 8.891 kB / 0.6484 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1248, allocations: 224.1 kB / 0.6486 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1248, allocations: 384 / 0.6486 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1248, allocations: 7.938 kB / 0.6486 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1251, allocations: 109 kB / 0.6487 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1251, allocations: 0 / 0.6487 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1251, allocations: 0 / 0.6487 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1251, allocations: 3.938 kB / 0.6487 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1253, allocations: 51.89 kB / 0.6487 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.1255, allocations: 207.5 kB / 0.6489 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.1259, allocations: 119.7 kB / 0.6491 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.126, allocations: 46.62 kB / 0.6491 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.126, allocations: 7.984 kB / 0.6491 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1263, allocations: 109.9 kB / 0.6492 GB, free: 4.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.1263, allocations: 0 / 0.6492 GB, free: 4.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.1267, allocations: 165.6 kB / 0.6494 GB, free: 3.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.1268, allocations: 128.5 kB / 0.6495 GB, free: 3.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.127, allocations: 174.4 kB / 0.6497 GB, free: 3.523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.127, allocations: 29.7 kB / 0.6497 GB, free: 3.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.1271, allocations: 104.1 kB / 0.6498 GB, free: 3.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.1271, allocations: 23.8 kB / 0.6498 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1272, allocations: 25.7 kB / 0.6498 GB, free: 3.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.1273, allocations: 331 kB / 0.6502 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1274, allocations: 31.92 kB / 0.6502 GB, free: 2.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1275, allocations: 64.27 kB / 0.6502 GB, free: 2.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1277, allocations: 99.61 kB / 0.6503 GB, free: 2.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1277, allocations: 7.938 kB / 0.6503 GB, free: 2.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002973/0.1281, allocations: 129.5 kB / 0.6505 GB, free: 2.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1281, allocations: 5.719 kB / 0.6505 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1281, allocations: 8.094 kB / 0.6505 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1281, allocations: 0 / 0.6505 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1282, allocations: 23.92 kB / 0.6505 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1282, allocations: 0 / 0.6505 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.1283, allocations: 11.98 kB / 0.6505 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1284, allocations: 11.94 kB / 0.6505 GB, free: 2.578 MB / 494.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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.659e-05/0.1285, allocations: 130.6 kB / 0.6507 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1285, allocations: 11.91 kB / 0.6507 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.1285, allocations: 25.41 kB / 0.6507 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1286, allocations: 0 / 0.6507 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1286, allocations: 0 / 0.6507 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1286, allocations: 0 / 0.6507 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1287, allocations: 205.5 kB / 0.6509 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1287, allocations: 7.984 kB / 0.6509 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.1288, allocations: 8.188 kB / 0.6509 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1288, allocations: 4 kB / 0.6509 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1289, allocations: 11.86 kB / 0.6509 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1289, allocations: 0 / 0.6509 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1289, allocations: 7.984 kB / 0.6509 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.1292, allocations: 170.6 kB / 0.6511 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1292, allocations: 92.95 kB / 0.6512 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1293, allocations: 0 / 0.6512 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.1294, allocations: 11.98 kB / 0.6512 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1294, allocations: 8 kB / 0.6512 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1295, allocations: 7.984 kB / 0.6512 GB, free: 1.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1296, allocations: 140.2 kB / 0.6513 GB, free: 1.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1296, allocations: 0 / 0.6513 GB, free: 1.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1298, allocations: 27.98 kB / 0.6514 GB, free: 1.617 MB / 494.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 (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.001455/0.1313, allocations: 1.045 MB / 0.6524 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1316, allocations: 83.89 kB / 0.6525 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.1316, allocations: 0 / 0.6525 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1317, allocations: 47.91 kB / 0.6525 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.132, allocations: 31.91 kB / 0.6525 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.134, allocations: 1.699 MB / 0.6542 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1342, allocations: 0.708 MB / 0.6549 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.455e-05/0.1343, allocations: 28.47 kB / 0.6549 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.1344, allocations: 39.36 kB / 0.655 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1344, allocations: 0 / 0.655 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1542, allocations: 3.831 MB / 0.6587 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.711, allocations: 23.22 kB / 0.6587 GB, free: 10.14 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_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_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)