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.004454/0.004454, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.0012/0.0012, allocations: 192.2 kB / 16.67 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002335/0.002335, allocations: 278.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9647/0.9647, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 94.42 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1599, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4789/0.6388, allocations: 167.1 MB / 0.929 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.6596, allocations: 16.94 MB / 0.9456 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.6606, allocations: 27.81 kB / 0.9456 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.6619, allocations: 0.508 MB / 0.9461 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.6656, allocations: 1.51 MB / 0.9476 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.6685, allocations: 1.319 MB / 0.9489 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.6711, allocations: 2.496 MB / 0.9513 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.6734, allocations: 1.937 MB / 0.9532 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.6769, allocations: 1.31 MB / 0.9545 GB, free: 2 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.6781, allocations: 0.9529 MB / 0.9554 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.6784, allocations: 208 kB / 0.9556 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.6811, allocations: 1.423 MB / 0.957 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/0.6816, allocations: 0.5569 MB / 0.9575 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009776/0.6826, allocations: 0.995 MB / 0.9585 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003903/0.6865, allocations: 3.059 MB / 0.9615 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6865, allocations: 4 kB / 0.9615 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6865, allocations: 0 / 0.9615 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.302e-05/0.6866, allocations: 0 / 0.9615 GB, free: 10.78 MB / 0.7169 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.003635/0.6902, allocations: 2.323 MB / 0.9638 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6903, allocations: 8.031 kB / 0.9638 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002847/0.6906, allocations: 249 kB / 0.964 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.6939, allocations: 0.5217 MB / 0.9645 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.6955, allocations: 1.122 MB / 0.9656 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.6956, allocations: 127.4 kB / 0.9657 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.6958, allocations: 164 kB / 0.9659 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/0.6989, allocations: 1.851 MB / 0.9677 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.6989, allocations: 0 / 0.9677 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.6991, allocations: 80 kB / 0.9678 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.6991, allocations: 40 kB / 0.9678 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.7024, allocations: 1.875 MB / 0.9696 GB, free: 2.254 MB / 0.7169 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.007343/0.7098, allocations: 5.146 MB / 0.9747 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.7128, allocations: 1.771 MB / 0.9764 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.714, allocations: 0.6437 MB / 0.977 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/0.7149, allocations: 0.8155 MB / 0.9778 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.7165, allocations: 0.8957 MB / 0.9787 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.916e-06/0.7165, allocations: 0 / 0.9787 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006039/0.7226, allocations: 2.557 MB / 0.9812 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.7227, allocations: 205.2 kB / 0.9814 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.7238, allocations: 0.8271 MB / 0.9822 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.7239, allocations: 61.7 kB / 0.9823 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/0.7245, allocations: 0.6577 MB / 0.9829 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.7249, allocations: 0.4996 MB / 0.9834 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.7253, allocations: 234.8 kB / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7255, allocations: 357.9 kB / 0.984 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/0.7264, allocations: 474.4 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.7276, allocations: 0.634 MB / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.7297, allocations: 1.099 MB / 0.9861 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7297, allocations: 0 / 0.9861 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003312/0.7331, allocations: 1.504 MB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.7331, allocations: 8 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7331, allocations: 0 / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008779/0.734, allocations: 196.2 kB / 0.9878 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.7354, allocations: 331.5 kB / 0.9881 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006228/0.7417, allocations: 7.277 MB / 0.9952 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.7428, allocations: 152.6 kB / 0.9953 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.7429, allocations: 51.97 kB / 0.9954 GB, free: 6.395 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.0006834/0.7436, allocations: 378.2 kB / 0.9957 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.7438, allocations: 135.2 kB / 0.9959 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.7479, allocations: 1.847 MB / 0.9977 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.7479, allocations: 16 kB / 0.9977 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7479, allocations: 4 kB / 0.9977 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.7479, allocations: 7.969 kB / 0.9977 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006052/0.754, allocations: 3.448 MB / 1.001 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.754, allocations: 0 / 1.001 GB, free: 468 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.7554, allocations: 315.6 kB / 1.001 GB, free: 152 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007326/0.7561, allocations: 188.2 kB / 1.002 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-05/0.7562, allocations: 43.95 kB / 1.002 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006122/0.7623, allocations: 7.319 MB / 1.009 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7624, allocations: 0 / 1.009 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.766, allocations: 1.725 MB / 1.01 GB, free: 6.117 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/0.7666, allocations: 403.7 kB / 1.011 GB, free: 5.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.7668, allocations: 35.92 kB / 1.011 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.7678, allocations: 102.3 kB / 1.011 GB, free: 5.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.7681, allocations: 109.2 kB / 1.011 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.7682, allocations: 79.88 kB / 1.011 GB, free: 5.387 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007847/0.769, allocations: 0.5786 MB / 1.012 GB, free: 4.797 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.769, allocations: 0 / 1.012 GB, free: 4.797 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001433/0.7704, allocations: 0.5805 MB / 1.012 GB, free: 4.215 MB / 0.7637 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.005867/0.7763, allocations: 2.894 MB / 1.015 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0032/0.7795, allocations: 1.832 MB / 1.017 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.7795, allocations: 4.562 kB / 1.017 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.7815, allocations: 1.313 MB / 1.018 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.7836, allocations: 0.5035 MB / 1.019 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.8014, allocations: 10.09 MB / 1.028 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.8026, allocations: 1.292 MB / 1.03 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001601/0.8042, allocations: 442.1 kB / 1.03 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009759/0.8052, allocations: 0.6515 MB / 1.031 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of SimCode: time 8.02e-07/0.8052, allocations: 0 / 1.031 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08791/0.8931, allocations: 36.79 MB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.7, allocations: 0.625 kB / 1.067 GB, free: 12.72 MB / 0.8262 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)