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.0007197/0.0007196, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004103/0.004103, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.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.001684/0.001684, allocations: 271 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004507, allocations: 13.97 kB / 0.5988 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.478/0.6367, allocations: 162.5 MB / 0.8439 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.6577, allocations: 16.75 MB / 0.8603 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.6591, allocations: 20.97 kB / 0.8603 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.6607, allocations: 441.8 kB / 0.8607 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.6651, allocations: 1.356 MB / 0.8621 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.6683, allocations: 1.17 MB / 0.8632 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003157/0.6715, allocations: 2.64 MB / 0.8658 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.6741, allocations: 1.66 MB / 0.8674 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/0.6789, allocations: 1.007 MB / 0.8684 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.6803, allocations: 0.7392 MB / 0.8691 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.6806, allocations: 40.53 kB / 0.8691 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.6837, allocations: 1.402 MB / 0.8705 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005951/0.6843, allocations: 363.7 kB / 0.8709 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.6856, allocations: 0.7948 MB / 0.8716 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004413/0.69, allocations: 2.87 MB / 0.8744 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.6901, allocations: 0 / 0.8744 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6901, allocations: 0 / 0.8744 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001049/0.6902, allocations: 0 / 0.8744 GB, free: 12.9 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.004116/0.6943, allocations: 1.86 MB / 0.8763 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6944, allocations: 8.594 kB / 0.8763 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005634/0.6949, allocations: 253.2 kB / 0.8765 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.6987, allocations: 0.5145 MB / 0.877 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.7008, allocations: 1.091 MB / 0.8781 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.701, allocations: 123.7 kB / 0.8782 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.7013, allocations: 167 kB / 0.8784 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003942/0.7053, allocations: 1.843 MB / 0.8802 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.7053, allocations: 4 kB / 0.8802 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.7056, allocations: 75.98 kB / 0.8802 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.7056, allocations: 40 kB / 0.8803 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/0.7092, allocations: 1.882 MB / 0.8821 GB, free: 6.062 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.008516/0.7177, allocations: 5.227 MB / 0.8872 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.7208, allocations: 1.763 MB / 0.8889 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.722, allocations: 0.6592 MB / 0.8896 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008568/0.7228, allocations: 0.8117 MB / 0.8904 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/0.7245, allocations: 0.8996 MB / 0.8912 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.354e-06/0.7245, allocations: 0 / 0.8912 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.005985/0.7305, allocations: 2.575 MB / 0.8938 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.7306, allocations: 201.2 kB / 0.894 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.7318, allocations: 0.8348 MB / 0.8948 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.7319, allocations: 57.7 kB / 0.8948 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/0.7324, allocations: 0.6446 MB / 0.8955 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.7328, allocations: 484.9 kB / 0.8959 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.733, allocations: 101.7 kB / 0.896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7331, allocations: 353.9 kB / 0.8964 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/0.7341, allocations: 474.4 kB / 0.8968 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.7352, allocations: 0.6457 MB / 0.8974 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.7373, allocations: 1.107 MB / 0.8985 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7373, allocations: 0 / 0.8985 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003317/0.7406, allocations: 1.511 MB / 0.9 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7407, allocations: 4 kB / 0.9 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7407, allocations: 0 / 0.9 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008936/0.7416, allocations: 196.2 kB / 0.9002 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.7431, allocations: 335.5 kB / 0.9005 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00536/0.7484, allocations: 6.781 MB / 0.9071 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.7498, allocations: 171.5 kB / 0.9073 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.7499, allocations: 51.95 kB / 0.9073 GB, free: 10.74 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.0007808/0.7507, allocations: 382.1 kB / 0.9077 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.751, allocations: 126.5 kB / 0.9078 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.755, allocations: 1.862 MB / 0.9096 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.755, allocations: 16 kB / 0.9097 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.755, allocations: 0 / 0.9097 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.755, allocations: 7.969 kB / 0.9097 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/0.7607, allocations: 3.454 MB / 0.913 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7608, allocations: 0 / 0.913 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.7622, allocations: 319.5 kB / 0.9133 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000792/0.763, allocations: 208 kB / 0.9135 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.7631, allocations: 39.97 kB / 0.9136 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.7683, allocations: 6.802 MB / 0.9202 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7683, allocations: 4.125 kB / 0.9202 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.7719, allocations: 1.71 MB / 0.9219 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/0.7726, allocations: 422.8 kB / 0.9223 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.7727, allocations: 28 kB / 0.9223 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.774, allocations: 148.6 kB / 0.9225 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.7742, allocations: 113.1 kB / 0.9226 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.7744, allocations: 75.95 kB / 0.9226 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008799/0.7753, allocations: 0.5786 MB / 0.9232 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7753, allocations: 0 / 0.9232 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001615/0.7769, allocations: 0.5727 MB / 0.9238 GB, free: 9.043 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.005846/0.7827, allocations: 2.892 MB / 0.9266 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003225/0.786, allocations: 1.84 MB / 0.9284 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.786, allocations: 8.547 kB / 0.9284 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.788, allocations: 1.313 MB / 0.9297 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.7905, allocations: 485.6 kB / 0.9301 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/0.8122, allocations: 11.4 MB / 0.9413 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.8133, allocations: 1.292 MB / 0.9425 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00185/0.8152, allocations: 454 kB / 0.943 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009794/0.8162, allocations: 0.6437 MB / 0.9436 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of SimCode: time 9.11e-07/0.8162, allocations: 0 / 0.9436 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06219/0.8784, allocations: 34.82 MB / 0.9776 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.8786, allocations: 293 kB / 0.9779 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/3.998, allocations: 0 / 0.9779 GB, free: 1.691 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)