Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",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.005661/0.005661, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001498/0.001498, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 287 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.173/1.173, allocations: 178.6 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 103.8 kB / 0.6943 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4126, allocations: 89.13 MB / 0.7813 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1836/0.5962, allocations: 168.3 MB / 0.9457 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.6187, allocations: 17.09 MB / 0.9623 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.6201, allocations: 31.88 kB / 0.9624 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.6219, allocations: 0.5467 MB / 0.9629 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004498/0.6264, allocations: 1.605 MB / 0.9645 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.6299, allocations: 1.34 MB / 0.9658 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003473/0.6333, allocations: 2.688 MB / 0.9684 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.6362, allocations: 1.882 MB / 0.9702 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.6401, allocations: 1.336 MB / 0.9716 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.6418, allocations: 0.9881 MB / 0.9725 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005288/0.6423, allocations: 208 kB / 0.9727 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.6456, allocations: 1.423 MB / 0.9741 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008193/0.6464, allocations: 0.5608 MB / 0.9747 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.6478, allocations: 1.03 MB / 0.9757 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004592/0.6524, allocations: 3.137 MB / 0.9787 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6524, allocations: 0 / 0.9787 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6524, allocations: 0 / 0.9787 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.6525, allocations: 0 / 0.9787 GB, free: 13.86 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004346/0.6568, allocations: 2.338 MB / 0.981 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6569, allocations: 8.031 kB / 0.981 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002918/0.6572, allocations: 253 kB / 0.9813 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.6606, allocations: 0.5217 MB / 0.9818 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.6622, allocations: 1.126 MB / 0.9829 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.6624, allocations: 135.3 kB / 0.983 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.6626, allocations: 168 kB / 0.9832 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.6657, allocations: 1.844 MB / 0.985 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.6658, allocations: 0 / 0.985 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.6659, allocations: 72 kB / 0.985 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.666, allocations: 47.98 kB / 0.9851 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/0.6693, allocations: 1.874 MB / 0.9869 GB, free: 5.309 MB / 0.7481 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.3458/1.015, allocations: 5.537 MB / 0.9923 GB, free: 199.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/1.019, allocations: 1.756 MB / 0.994 GB, free: 198.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/1.02, allocations: 0.6471 MB / 0.9947 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008242/1.021, allocations: 0.8129 MB / 0.9954 GB, free: 197.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/1.023, allocations: 0.8912 MB / 0.9963 GB, free: 197.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=146): time 3.286e-06/1.023, allocations: 0 / 0.9963 GB, free: 197.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=146): time 0.006226/1.029, allocations: 2.562 MB / 0.9988 GB, free: 196.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.029, allocations: 205.3 kB / 0.999 GB, free: 196.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.03, allocations: 0.8287 MB / 0.9998 GB, free: 195.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.03, allocations: 60.36 kB / 0.9999 GB, free: 195.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/1.031, allocations: 0.655 MB / 1.001 GB, free: 195.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/1.031, allocations: 0.4972 MB / 1.001 GB, free: 195 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/1.032, allocations: 237.6 kB / 1.001 GB, free: 194.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/1.032, allocations: 357.1 kB / 1.002 GB, free: 194.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/1.033, allocations: 477.1 kB / 1.002 GB, free: 194.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/1.034, allocations: 0.6355 MB / 1.003 GB, free: 194.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/1.036, allocations: 1.097 MB / 1.004 GB, free: 193.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.036, allocations: 0 / 1.004 GB, free: 193.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003327/1.039, allocations: 1.506 MB / 1.005 GB, free: 193 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.039, allocations: 9.438 kB / 1.005 GB, free: 193 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.039, allocations: 1.125 kB / 1.005 GB, free: 193 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008414/1.04, allocations: 199.1 kB / 1.005 GB, free: 193 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.042, allocations: 327.8 kB / 1.006 GB, free: 193 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003901/1.046, allocations: 7.279 MB / 1.013 GB, free: 185.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.047, allocations: 156.6 kB / 1.013 GB, free: 185.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.047, allocations: 54.44 kB / 1.013 GB, free: 185.7 MB / 0.7481 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006418/1.048, allocations: 374.4 kB / 1.013 GB, free: 185.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/1.048, allocations: 140.1 kB / 1.014 GB, free: 185.4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/1.051, allocations: 1.844 MB / 1.015 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.052, allocations: 18.56 kB / 1.015 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.052, allocations: 2.281 kB / 1.015 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.052, allocations: 7.969 kB / 1.015 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/1.057, allocations: 3.438 MB / 1.019 GB, free: 182.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.057, allocations: 0 / 1.019 GB, free: 182.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.058, allocations: 322.5 kB / 1.019 GB, free: 182.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006736/1.059, allocations: 180.5 kB / 1.019 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/1.059, allocations: 39.97 kB / 1.019 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003704/1.062, allocations: 7.316 MB / 1.026 GB, free: 174.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.062, allocations: 1.594 kB / 1.026 GB, free: 174.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/1.066, allocations: 1.72 MB / 1.028 GB, free: 173.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/1.066, allocations: 413.9 kB / 1.028 GB, free: 173.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/1.066, allocations: 31.72 kB / 1.028 GB, free: 173.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.067, allocations: 100.7 kB / 1.029 GB, free: 173.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.068, allocations: 118.7 kB / 1.029 GB, free: 173.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.068, allocations: 70.28 kB / 1.029 GB, free: 173.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006752/1.068, allocations: 0.577 MB / 1.029 GB, free: 173 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.068, allocations: 0 / 1.029 GB, free: 173 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001359/1.07, allocations: 0.6043 MB / 1.03 GB, free: 172.8 MB / 0.7481 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005291/1.075, allocations: 2.895 MB / 1.033 GB, free: 171.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002741/1.078, allocations: 1.84 MB / 1.035 GB, free: 170 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.078, allocations: 4.5 kB / 1.035 GB, free: 170 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.079, allocations: 1.312 MB / 1.036 GB, free: 169.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.082, allocations: 0.5286 MB / 1.036 GB, free: 168.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.096, allocations: 9.96 MB / 1.046 GB, free: 161.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/1.096, allocations: 1.308 MB / 1.047 GB, free: 159.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001388/1.098, allocations: 438.3 kB / 1.048 GB, free: 159.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007074/1.098, allocations: 0.6515 MB / 1.048 GB, free: 158.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.098, allocations: 4 kB / 1.048 GB, free: 158.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07522/1.174, allocations: 37.62 MB / 1.085 GB, free: 121.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.06, allocations: 13.69 kB / 1.085 GB, free: 121.5 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)