Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.001991/0.001991, allocations: 108.5 kB / 16.41 MB, free: 6.496 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.002215/0.002215, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8239/0.8239, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 66.58 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1272, allocations: 78.86 MB / 0.6505 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4361/0.5633, allocations: 154.5 MB / 0.8014 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.5739, allocations: 10.55 MB / 0.8117 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.5745, allocations: 21.22 kB / 0.8118 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.5753, allocations: 283.1 kB / 0.812 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.5775, allocations: 0.9828 MB / 0.813 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.5796, allocations: 1.085 MB / 0.814 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.5809, allocations: 1.715 MB / 0.8157 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5822, allocations: 1.146 MB / 0.8168 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.5838, allocations: 0.7094 MB / 0.8175 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/0.5845, allocations: 0.6202 MB / 0.8181 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.5846, allocations: 135.3 kB / 0.8183 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.5862, allocations: 1.029 MB / 0.8193 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.5865, allocations: 383.6 kB / 0.8196 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.5872, allocations: 0.6786 MB / 0.8203 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.5896, allocations: 2.245 MB / 0.8225 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5896, allocations: 2.875 kB / 0.8225 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5896, allocations: 0 / 0.8225 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.5896, allocations: 0 / 0.8225 GB, free: 5.449 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002901/0.5925, allocations: 1.78 MB / 0.8242 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.5926, allocations: 10.56 kB / 0.8242 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.5928, allocations: 152.2 kB / 0.8244 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.5944, allocations: 281.1 kB / 0.8247 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5958, allocations: 1.09 MB / 0.8257 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.5958, allocations: 74.66 kB / 0.8258 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5959, allocations: 90.69 kB / 0.8259 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.5978, allocations: 1.122 MB / 0.827 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.5979, allocations: 3.938 kB / 0.827 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.598, allocations: 42.09 kB / 0.827 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.598, allocations: 25.19 kB / 0.827 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.6002, allocations: 1.321 MB / 0.8283 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.6052, allocations: 3.51 MB / 0.8318 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.6072, allocations: 1.1 MB / 0.8328 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007779/0.608, allocations: 421.4 kB / 0.8332 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.6082, allocations: 141.9 kB / 0.8334 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.6093, allocations: 0.6177 MB / 0.834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 4.368e-06/0.6094, allocations: 0 / 0.834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.004043/0.6134, allocations: 1.643 MB / 0.8356 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.6135, allocations: 190.6 kB / 0.8358 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.6147, allocations: 1.029 MB / 0.8368 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.6147, allocations: 45.11 kB / 0.8368 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.6151, allocations: 483.2 kB / 0.8373 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.6154, allocations: 326 kB / 0.8376 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.6157, allocations: 169 kB / 0.8377 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6159, allocations: 340.1 kB / 0.8381 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.6166, allocations: 334.2 kB / 0.8384 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/0.6174, allocations: 467.5 kB / 0.8388 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.6189, allocations: 0.7681 MB / 0.8396 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.619, allocations: 0 / 0.8396 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002411/0.6214, allocations: 1.043 MB / 0.8406 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6214, allocations: 8.859 kB / 0.8406 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6214, allocations: 0 / 0.8406 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.6222, allocations: 118.3 kB / 0.8407 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/0.623, allocations: 192.5 kB / 0.8409 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.6265, allocations: 3.082 MB / 0.8439 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.6273, allocations: 107.4 kB / 0.844 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.6274, allocations: 39.91 kB / 0.8441 GB, free: 5.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004914/0.6279, allocations: 309.6 kB / 0.8444 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6281, allocations: 103.3 kB / 0.8445 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.6313, allocations: 1.323 MB / 0.8457 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.6314, allocations: 8 kB / 0.8458 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.6314, allocations: 4 kB / 0.8458 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.6314, allocations: 7.969 kB / 0.8458 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.6358, allocations: 2.437 MB / 0.8481 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6358, allocations: 4 kB / 0.8481 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.6367, allocations: 195.7 kB / 0.8483 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005812/0.6373, allocations: 113.5 kB / 0.8484 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/0.6374, allocations: 31.97 kB / 0.8485 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.6408, allocations: 3.088 MB / 0.8515 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6408, allocations: 0 / 0.8515 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.6437, allocations: 1.237 MB / 0.8527 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.6442, allocations: 328 kB / 0.853 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.6443, allocations: 19.95 kB / 0.853 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008377/0.6452, allocations: 88.41 kB / 0.8531 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.6453, allocations: 84.88 kB / 0.8532 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.6455, allocations: 48.03 kB / 0.8532 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009622/0.6464, allocations: 0.745 MB / 0.854 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6464, allocations: 4 kB / 0.854 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001135/0.6476, allocations: 443 kB / 0.8544 GB, free: 10.94 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005232/0.6528, allocations: 2.416 MB / 0.8568 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.6551, allocations: 1.099 MB / 0.8578 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.6552, allocations: 4.188 kB / 0.8578 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.6566, allocations: 0.741 MB / 0.8586 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.6581, allocations: 369.9 kB / 0.8589 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.6736, allocations: 8.36 MB / 0.8671 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/0.6745, allocations: 1.107 MB / 0.8681 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009945/0.6755, allocations: 312 kB / 0.8684 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/0.6763, allocations: 467.2 kB / 0.8689 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of SimCode: time 3.5e-07/0.6763, allocations: 0 / 0.8689 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06989/0.7462, allocations: 28.25 MB / 0.8965 GB, free: 140 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.41, allocations: 15.98 kB / 0.8965 GB, free: 124 kB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)