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.001244/0.001244, 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.001243/0.001243, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002345/0.002345, allocations: 279.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 98.44 kB / 0.6065 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1563, allocations: 89.15 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4403/0.5967, allocations: 168.2 MB / 0.8579 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.6175, allocations: 17.08 MB / 0.8746 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.6189, allocations: 28.97 kB / 0.8746 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.6204, allocations: 0.5521 MB / 0.8752 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.6247, allocations: 1.621 MB / 0.8767 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.6277, allocations: 1.316 MB / 0.878 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00302/0.6308, allocations: 2.692 MB / 0.8806 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.6331, allocations: 1.886 MB / 0.8825 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.6374, allocations: 1.337 MB / 0.8838 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.6391, allocations: 0.9881 MB / 0.8848 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000389/0.6395, allocations: 204 kB / 0.885 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.6429, allocations: 1.4 MB / 0.8863 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005862/0.6435, allocations: 0.5491 MB / 0.8869 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.6448, allocations: 1.042 MB / 0.8879 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.6494, allocations: 3.05 MB / 0.8909 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6494, allocations: 0 / 0.8909 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6495, allocations: 0 / 0.8909 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.542e-05/0.6495, allocations: 0 / 0.8909 GB, free: 1.516 MB / 0.6075 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.004252/0.6538, allocations: 2.287 MB / 0.8931 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.6538, allocations: 11.97 kB / 0.8931 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000293/0.6541, allocations: 253 kB / 0.8933 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.6577, allocations: 0.5088 MB / 0.8938 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.6594, allocations: 1.086 MB / 0.8949 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6595, allocations: 127.4 kB / 0.895 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.6597, allocations: 168 kB / 0.8952 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.663, allocations: 1.836 MB / 0.897 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.663, allocations: 0 / 0.897 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.6632, allocations: 80 kB / 0.897 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.6632, allocations: 40 kB / 0.8971 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.6667, allocations: 1.878 MB / 0.8989 GB, free: 9.078 MB / 0.6231 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.008599/0.6753, allocations: 5.566 MB / 0.9044 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.6786, allocations: 1.779 MB / 0.9061 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.6798, allocations: 0.6476 MB / 0.9067 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.6808, allocations: 0.8078 MB / 0.9075 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.6825, allocations: 0.888 MB / 0.9084 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 2.826e-06/0.6825, allocations: 0 / 0.9084 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.006513/0.6891, allocations: 2.556 MB / 0.9109 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.6892, allocations: 201.2 kB / 0.9111 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.6904, allocations: 0.8348 MB / 0.9119 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.6906, allocations: 57.7 kB / 0.9119 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/0.6912, allocations: 0.6484 MB / 0.9126 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/0.6916, allocations: 485 kB / 0.913 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.692, allocations: 234.8 kB / 0.9133 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6922, allocations: 353.9 kB / 0.9136 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.6932, allocations: 478.4 kB / 0.9141 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.6944, allocations: 0.6301 MB / 0.9147 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.6967, allocations: 1.103 MB / 0.9157 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6967, allocations: 0 / 0.9157 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003647/0.7004, allocations: 1.499 MB / 0.9172 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.7004, allocations: 4 kB / 0.9172 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7004, allocations: 4 kB / 0.9172 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009344/0.7014, allocations: 196.2 kB / 0.9174 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.7029, allocations: 323.6 kB / 0.9177 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.7094, allocations: 7.293 MB / 0.9248 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.7108, allocations: 150.7 kB / 0.925 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.7109, allocations: 47.97 kB / 0.925 GB, free: 12.73 MB / 0.6544 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.0007637/0.7116, allocations: 374.3 kB / 0.9254 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.7119, allocations: 130.4 kB / 0.9255 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.7163, allocations: 1.85 MB / 0.9273 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.7163, allocations: 16 kB / 0.9273 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7163, allocations: 0 / 0.9273 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.7163, allocations: 7.969 kB / 0.9273 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.7226, allocations: 3.45 MB / 0.9307 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.7226, allocations: 0 / 0.9307 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.7241, allocations: 319.5 kB / 0.931 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008259/0.7249, allocations: 180.1 kB / 0.9312 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.725, allocations: 39.97 kB / 0.9312 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006428/0.7315, allocations: 7.323 MB / 0.9384 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7315, allocations: 4.062 kB / 0.9384 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/0.7355, allocations: 1.707 MB / 0.94 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/0.7363, allocations: 399 kB / 0.9404 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.7365, allocations: 31.98 kB / 0.9405 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.7376, allocations: 107.1 kB / 0.9406 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.7379, allocations: 113.1 kB / 0.9407 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.738, allocations: 67.95 kB / 0.9407 GB, free: 11.76 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008319/0.7389, allocations: 0.5863 MB / 0.9413 GB, free: 11.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7389, allocations: 0 / 0.9413 GB, free: 11.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001536/0.7404, allocations: 0.6038 MB / 0.9419 GB, free: 10.56 MB / 0.67 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.006177/0.7466, allocations: 2.895 MB / 0.9447 GB, free: 7.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005216/0.7519, allocations: 2.27 MB / 0.9469 GB, free: 5.484 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.7519, allocations: 4.562 kB / 0.9469 GB, free: 5.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.754, allocations: 1.301 MB / 0.9482 GB, free: 4.117 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.7563, allocations: 0.5296 MB / 0.9487 GB, free: 3.613 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/0.7747, allocations: 10.51 MB / 0.959 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/0.7757, allocations: 1.296 MB / 0.9603 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001803/0.7775, allocations: 446.2 kB / 0.9607 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009286/0.7784, allocations: 0.6476 MB / 0.9613 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.7785, allocations: 4 kB / 0.9613 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09061/0.8691, allocations: 37.27 MB / 0.9977 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.21, allocations: 10.42 kB / 0.9977 GB, free: 1.566 MB / 0.7169 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)