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.0008016/0.0008017, allocations: 98.11 kB / 16.02 MB, free: 76 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.0009504/0.0009503, allocations: 177 kB / 16.92 MB, free: 6.922 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.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7409/0.7409, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003033, allocations: 8.594 kB / 495.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 77.53 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.446/0.5859, allocations: 150.2 MB / 0.7067 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.6007, allocations: 10.43 MB / 0.7169 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.6018, allocations: 19.88 kB / 0.7169 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.6029, allocations: 230.5 kB / 0.7171 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.6059, allocations: 0.8291 MB / 0.7179 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.6087, allocations: 0.9482 MB / 0.7189 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002449/0.6112, allocations: 1.709 MB / 0.7205 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.613, allocations: 0.9903 MB / 0.7215 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.6153, allocations: 0.5559 MB / 0.722 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.6162, allocations: 0.4935 MB / 0.7225 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.6164, allocations: 32 kB / 0.7225 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.6185, allocations: 0.9321 MB / 0.7235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.6188, allocations: 266.8 kB / 0.7237 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.6195, allocations: 0.5686 MB / 0.7243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.6224, allocations: 2.079 MB / 0.7263 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6225, allocations: 0 / 0.7263 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6225, allocations: 3.938 kB / 0.7263 GB, free: 12.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.356e-05/0.6225, allocations: 0 / 0.7263 GB, free: 12.29 MB / 0.545 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.003141/0.6257, allocations: 1.491 MB / 0.7278 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6257, allocations: 8.031 kB / 0.7278 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002698/0.626, allocations: 156 kB / 0.7279 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.6278, allocations: 282.1 kB / 0.7282 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.6294, allocations: 1.05 MB / 0.7292 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.6294, allocations: 78 kB / 0.7293 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.6296, allocations: 92 kB / 0.7294 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.6316, allocations: 1.125 MB / 0.7305 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.6316, allocations: 0 / 0.7305 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.6318, allocations: 40 kB / 0.7305 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.6318, allocations: 20 kB / 0.7305 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.6342, allocations: 1.342 MB / 0.7318 GB, free: 6.477 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005583/0.6398, allocations: 3.525 MB / 0.7353 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.6419, allocations: 1.118 MB / 0.7364 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/0.6428, allocations: 432 kB / 0.7368 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.643, allocations: 138 kB / 0.7369 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.6442, allocations: 0.6332 MB / 0.7375 GB, free: 436 kB / 0.545 GB Notification: Performance of pre-optimization done (n=95): time 2.374e-06/0.6442, allocations: 0 / 0.7375 GB, free: 436 kB / 0.545 GB Notification: Performance of matching and sorting (n=95): time 0.004253/0.6484, allocations: 1.663 MB / 0.7392 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/0.6486, allocations: 196.9 kB / 0.7393 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.6498, allocations: 1.025 MB / 0.7403 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.006e-05/0.6499, allocations: 45.7 kB / 0.7404 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.6503, allocations: 468.4 kB / 0.7408 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.6506, allocations: 315.5 kB / 0.7411 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.6507, allocations: 69.69 kB / 0.7412 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6508, allocations: 341.9 kB / 0.7415 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.6516, allocations: 341.8 kB / 0.7419 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009233/0.6525, allocations: 489 kB / 0.7423 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.654, allocations: 0.7843 MB / 0.7431 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.6541, allocations: 0 / 0.7431 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002619/0.6567, allocations: 1.056 MB / 0.7441 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6567, allocations: 14.56 kB / 0.7441 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6567, allocations: 0 / 0.7441 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007691/0.6575, allocations: 113.6 kB / 0.7442 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009296/0.6584, allocations: 203.7 kB / 0.7444 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.6615, allocations: 2.859 MB / 0.7472 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/0.6625, allocations: 131.3 kB / 0.7473 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/0.6626, allocations: 27.98 kB / 0.7474 GB, free: 5.867 MB / 0.5606 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.0005825/0.6632, allocations: 310.4 kB / 0.7477 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.6634, allocations: 102.7 kB / 0.7478 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.6665, allocations: 1.338 MB / 0.7491 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6666, allocations: 12 kB / 0.7491 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6666, allocations: 0 / 0.7491 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6666, allocations: 3.984 kB / 0.7491 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.671, allocations: 2.47 MB / 0.7515 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.671, allocations: 0 / 0.7515 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/0.6719, allocations: 199.8 kB / 0.7517 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006811/0.6725, allocations: 117.5 kB / 0.7518 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.6726, allocations: 23.98 kB / 0.7518 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.6755, allocations: 2.879 MB / 0.7546 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6755, allocations: 0 / 0.7546 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.6782, allocations: 1.254 MB / 0.7559 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/0.6788, allocations: 339.3 kB / 0.7562 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.679, allocations: 27.94 kB / 0.7562 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000976/0.68, allocations: 109.6 kB / 0.7563 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.6802, allocations: 80.81 kB / 0.7564 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.6803, allocations: 47.95 kB / 0.7564 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009538/0.6812, allocations: 0.7528 MB / 0.7572 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6812, allocations: 0 / 0.7572 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001278/0.6825, allocations: 451.1 kB / 0.7576 GB, free: 10.99 MB / 0.5762 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.004597/0.6871, allocations: 2.418 MB / 0.76 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.6894, allocations: 1.123 MB / 0.7611 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.6894, allocations: 4 kB / 0.7611 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.6908, allocations: 0.7605 MB / 0.7618 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.6924, allocations: 325 kB / 0.7621 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.7085, allocations: 9.198 MB / 0.7711 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000837/0.7093, allocations: 1.104 MB / 0.7722 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001154/0.7105, allocations: 319.8 kB / 0.7725 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/0.7112, allocations: 467.2 kB / 0.7729 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.7112, allocations: 0 / 0.7729 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.8141, allocations: 26.6 MB / 0.7989 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.8144, allocations: 295.8 kB / 0.7992 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.452, allocations: 6.953 kB / 0.7992 GB, free: 0.5781 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)