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.001286/0.001286, allocations: 108 kB / 15.61 MB, free: 152 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.001249/0.001249, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 291.1 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001677, allocations: 98.59 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1396, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4507/0.5903, allocations: 167 MB / 0.8434 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.6089, allocations: 16.94 MB / 0.8599 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.6103, allocations: 24.91 kB / 0.86 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.6116, allocations: 0.5074 MB / 0.8605 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.6158, allocations: 1.519 MB / 0.8619 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.6187, allocations: 1.296 MB / 0.8632 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.6215, allocations: 2.488 MB / 0.8656 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.6237, allocations: 1.942 MB / 0.8675 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.6271, allocations: 1.308 MB / 0.8688 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.6285, allocations: 0.9529 MB / 0.8697 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.6287, allocations: 206.2 kB / 0.8699 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.6314, allocations: 1.395 MB / 0.8713 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000475/0.6319, allocations: 0.5566 MB / 0.8718 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009003/0.6328, allocations: 1 MB / 0.8728 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.6363, allocations: 2.987 MB / 0.8757 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6363, allocations: 2.781 kB / 0.8757 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6363, allocations: 0 / 0.8757 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.563e-05/0.6364, allocations: 4 kB / 0.8757 GB, free: 10.6 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003556/0.6399, allocations: 2.253 MB / 0.878 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.64, allocations: 10.62 kB / 0.878 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.6403, allocations: 248.8 kB / 0.8782 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.6437, allocations: 0.5029 MB / 0.8787 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.6453, allocations: 1.092 MB / 0.8798 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.6454, allocations: 127.8 kB / 0.8799 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.6456, allocations: 169.2 kB / 0.88 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.6485, allocations: 1.839 MB / 0.8818 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.6486, allocations: 0 / 0.8818 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.6487, allocations: 73.97 kB / 0.8819 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.6488, allocations: 42 kB / 0.8819 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.6519, allocations: 1.877 MB / 0.8838 GB, free: 5.457 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.007496/0.6594, allocations: 5.186 MB / 0.8888 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.6627, allocations: 1.766 MB / 0.8906 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.664, allocations: 0.6476 MB / 0.8912 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008881/0.6649, allocations: 0.8078 MB / 0.892 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.6666, allocations: 0.8935 MB / 0.8929 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.036e-06/0.6666, allocations: 0 / 0.8929 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.00643/0.673, allocations: 2.56 MB / 0.8954 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6732, allocations: 201.2 kB / 0.8956 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6743, allocations: 0.8309 MB / 0.8964 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6744, allocations: 61.7 kB / 0.8964 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.675, allocations: 0.6483 MB / 0.8971 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.6755, allocations: 489 kB / 0.8975 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.6759, allocations: 234.8 kB / 0.8977 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6761, allocations: 357.9 kB / 0.8981 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.6771, allocations: 478.3 kB / 0.8985 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.6783, allocations: 0.6302 MB / 0.8992 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.6806, allocations: 1.103 MB / 0.9002 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.6806, allocations: 0 / 0.9002 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003644/0.6843, allocations: 1.499 MB / 0.9017 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.6843, allocations: 5.719 kB / 0.9017 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6843, allocations: 4.094 kB / 0.9017 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009389/0.6853, allocations: 192.1 kB / 0.9019 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.6868, allocations: 327.6 kB / 0.9022 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006071/0.6929, allocations: 7.291 MB / 0.9093 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6942, allocations: 146.7 kB / 0.9095 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.6944, allocations: 56.02 kB / 0.9095 GB, free: 10.99 MB / 0.6231 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.0007914/0.6952, allocations: 370.9 kB / 0.9099 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.6956, allocations: 134.4 kB / 0.91 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.7, allocations: 1.846 MB / 0.9118 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.7, allocations: 12 kB / 0.9118 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7, allocations: 4 kB / 0.9118 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.7, allocations: 11.97 kB / 0.9118 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00665/0.7067, allocations: 3.45 MB / 0.9152 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7067, allocations: 0 / 0.9152 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.7083, allocations: 323.5 kB / 0.9155 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008317/0.7092, allocations: 176.1 kB / 0.9157 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.7093, allocations: 39.97 kB / 0.9157 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/0.7151, allocations: 7.338 MB / 0.9229 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7151, allocations: 0 / 0.9229 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.7191, allocations: 1.703 MB / 0.9245 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006967/0.7198, allocations: 410.9 kB / 0.9249 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.72, allocations: 28 kB / 0.925 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.7213, allocations: 105 kB / 0.9251 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.7216, allocations: 109.2 kB / 0.9252 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/0.7218, allocations: 71.94 kB / 0.9252 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008439/0.7226, allocations: 0.5824 MB / 0.9258 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7227, allocations: 4 kB / 0.9258 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001709/0.7244, allocations: 0.5688 MB / 0.9264 GB, free: 8.84 MB / 0.6387 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.005598/0.73, allocations: 2.885 MB / 0.9292 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005177/0.7352, allocations: 2.273 MB / 0.9314 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.7352, allocations: 4.562 kB / 0.9314 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.7372, allocations: 1.305 MB / 0.9327 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.7394, allocations: 0.5083 MB / 0.9332 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.7588, allocations: 10.61 MB / 0.9435 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009857/0.7598, allocations: 1.296 MB / 0.9448 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001801/0.7616, allocations: 442.1 kB / 0.9452 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009371/0.7626, allocations: 0.6437 MB / 0.9459 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.7626, allocations: 0 / 0.9459 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0898/0.8524, allocations: 36.45 MB / 0.9814 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.44, allocations: 6.562 kB / 0.9815 GB, free: 0.5859 MB / 0.6856 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)