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.001206/0.001206, allocations: 103.1 kB / 16.4 MB, free: 6.508 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.00117/0.001171, allocations: 192 kB / 17.34 MB, free: 5.738 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7711/0.7711, allocations: 122.9 MB / 414.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 72.66 kB / 0.568 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1334, allocations: 77.93 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4785/0.6119, allocations: 154.5 MB / 0.7949 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.6248, allocations: 10.55 MB / 0.8052 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.6261, allocations: 17.69 kB / 0.8052 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009283/0.6271, allocations: 290.2 kB / 0.8055 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003381/0.6305, allocations: 0.9857 MB / 0.8065 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.6333, allocations: 1.09 MB / 0.8075 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.6357, allocations: 1.722 MB / 0.8092 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.6375, allocations: 1.144 MB / 0.8103 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.6397, allocations: 0.7313 MB / 0.8111 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008748/0.6406, allocations: 0.6197 MB / 0.8117 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.6409, allocations: 132.8 kB / 0.8118 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.6431, allocations: 1.031 MB / 0.8128 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.6435, allocations: 381.3 kB / 0.8132 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007085/0.6442, allocations: 0.6824 MB / 0.8138 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.6477, allocations: 2.24 MB / 0.816 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.6478, allocations: 6.031 kB / 0.816 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6478, allocations: 7.875 kB / 0.816 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.6478, allocations: 0 / 0.816 GB, free: 7.512 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.003154/0.651, allocations: 1.776 MB / 0.8178 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.651, allocations: 18.34 kB / 0.8178 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.6512, allocations: 152.4 kB / 0.8179 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.6528, allocations: 277 kB / 0.8182 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.6544, allocations: 1.089 MB / 0.8193 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.6545, allocations: 70.31 kB / 0.8193 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.6546, allocations: 96.88 kB / 0.8194 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.6565, allocations: 1.109 MB / 0.8205 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.6565, allocations: 0 / 0.8205 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/0.6566, allocations: 44.84 kB / 0.8205 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.6566, allocations: 22.22 kB / 0.8206 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.6587, allocations: 1.324 MB / 0.8219 GB, free: 3.688 MB / 0.5919 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.005122/0.6638, allocations: 3.474 MB / 0.8252 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.6659, allocations: 1.101 MB / 0.8263 GB, free: 364 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007354/0.6666, allocations: 428.4 kB / 0.8267 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.6669, allocations: 137.3 kB / 0.8269 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.668, allocations: 0.6249 MB / 0.8275 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 4.869e-06/0.668, allocations: 0 / 0.8275 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.004092/0.6721, allocations: 1.643 MB / 0.8291 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.6722, allocations: 191 kB / 0.8293 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.6734, allocations: 1.025 MB / 0.8303 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6735, allocations: 45.61 kB / 0.8303 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.6739, allocations: 481.7 kB / 0.8308 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.6741, allocations: 322 kB / 0.8311 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.6744, allocations: 173.2 kB / 0.8312 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6745, allocations: 339.7 kB / 0.8316 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.6752, allocations: 331.1 kB / 0.8319 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/0.6759, allocations: 471.3 kB / 0.8323 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.6773, allocations: 0.765 MB / 0.8331 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6773, allocations: 2.781 kB / 0.8331 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002381/0.6797, allocations: 1.048 MB / 0.8341 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6798, allocations: 5.688 kB / 0.8341 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6798, allocations: 2.125 kB / 0.8341 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/0.6805, allocations: 113.2 kB / 0.8342 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/0.6814, allocations: 197.6 kB / 0.8344 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.6843, allocations: 3.075 MB / 0.8374 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/0.6853, allocations: 112.1 kB / 0.8375 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.6854, allocations: 34.12 kB / 0.8375 GB, free: 8.145 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.0005298/0.6859, allocations: 315.7 kB / 0.8378 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.6862, allocations: 109.7 kB / 0.8379 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.689, allocations: 1.313 MB / 0.8392 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.689, allocations: 14.36 kB / 0.8392 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.689, allocations: 0 / 0.8392 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.689, allocations: 5.797 kB / 0.8392 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.6932, allocations: 2.44 MB / 0.8416 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6932, allocations: 3.984 kB / 0.8416 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.6941, allocations: 191.7 kB / 0.8418 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/0.6946, allocations: 101.6 kB / 0.8419 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.436e-05/0.6947, allocations: 35.91 kB / 0.842 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.6975, allocations: 3.092 MB / 0.845 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6975, allocations: 5.547 kB / 0.845 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.7001, allocations: 1.237 MB / 0.8462 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.7007, allocations: 332 kB / 0.8465 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.7009, allocations: 19.98 kB / 0.8465 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008661/0.7018, allocations: 79.92 kB / 0.8466 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.7019, allocations: 85 kB / 0.8467 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.295e-05/0.702, allocations: 47.91 kB / 0.8467 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008526/0.7029, allocations: 0.7489 MB / 0.8475 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7029, allocations: 0 / 0.8475 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001185/0.7041, allocations: 450.9 kB / 0.8479 GB, free: 14.19 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.004276/0.7084, allocations: 2.417 MB / 0.8502 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.7106, allocations: 1.103 MB / 0.8513 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7106, allocations: 0 / 0.8513 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.7119, allocations: 0.7449 MB / 0.852 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.7135, allocations: 364.1 kB / 0.8524 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.727, allocations: 8.365 MB / 0.8606 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.7277, allocations: 1.111 MB / 0.8616 GB, free: 64 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001213/0.7289, allocations: 311.9 kB / 0.8619 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007422/0.7297, allocations: 467.2 kB / 0.8624 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.453e-06/0.7297, allocations: 0 / 0.8624 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06254/0.7923, allocations: 28.24 MB / 0.89 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.88, allocations: 7.984 kB / 0.89 GB, free: 3.395 MB / 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)