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.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 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.001591/0.001591, allocations: 193.1 kB / 16.53 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 291 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9482/0.9482, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 97.22 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1422, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.429/0.5713, allocations: 167 MB / 0.8434 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01727/0.5886, allocations: 16.95 MB / 0.8599 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.5899, allocations: 29.41 kB / 0.86 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.5912, allocations: 0.512 MB / 0.8605 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.5952, allocations: 1.51 MB / 0.8619 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.5982, allocations: 1.307 MB / 0.8632 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.6008, allocations: 2.488 MB / 0.8657 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.6032, allocations: 1.931 MB / 0.8675 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.6067, allocations: 1.306 MB / 0.8688 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.6085, allocations: 0.9593 MB / 0.8697 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000704/0.6092, allocations: 206.8 kB / 0.8699 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.6122, allocations: 1.394 MB / 0.8713 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007609/0.613, allocations: 0.5551 MB / 0.8719 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.6144, allocations: 0.9904 MB / 0.8728 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.6184, allocations: 3.001 MB / 0.8757 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.6184, allocations: 0 / 0.8757 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6184, allocations: 0 / 0.8757 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.792e-05/0.6185, allocations: 0 / 0.8757 GB, free: 10.63 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.004212/0.6227, allocations: 2.253 MB / 0.8779 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.6228, allocations: 10.19 kB / 0.878 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002705/0.623, allocations: 249.3 kB / 0.8782 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/0.6264, allocations: 0.4984 MB / 0.8787 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.628, allocations: 1.092 MB / 0.8797 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.6281, allocations: 126 kB / 0.8799 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.6283, allocations: 174.6 kB / 0.88 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.6312, allocations: 1.847 MB / 0.8818 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.6312, allocations: 6.734 kB / 0.8818 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.6314, allocations: 73.06 kB / 0.8819 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.6314, allocations: 40.62 kB / 0.882 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/0.6345, allocations: 1.87 MB / 0.8838 GB, free: 5.488 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.007061/0.6415, allocations: 5.186 MB / 0.8888 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.6445, allocations: 1.762 MB / 0.8906 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.6456, allocations: 0.6515 MB / 0.8912 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.6464, allocations: 0.8038 MB / 0.892 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001502/0.6479, allocations: 0.8952 MB / 0.8929 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/0.6479, allocations: 4 kB / 0.8929 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.005932/0.6539, allocations: 2.56 MB / 0.8954 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.654, allocations: 201.2 kB / 0.8956 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.655, allocations: 0.8348 MB / 0.8964 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.6552, allocations: 57.7 kB / 0.8964 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.6556, allocations: 0.6484 MB / 0.8971 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.656, allocations: 488.9 kB / 0.8975 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000363/0.6564, allocations: 238.8 kB / 0.8978 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6565, allocations: 353.9 kB / 0.8981 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/0.6575, allocations: 478.3 kB / 0.8985 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.6586, allocations: 0.6457 MB / 0.8992 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.6607, allocations: 1.091 MB / 0.9002 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6607, allocations: 0 / 0.9002 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003475/0.6642, allocations: 1.499 MB / 0.9017 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.6642, allocations: 4 kB / 0.9017 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.6642, allocations: 7.938 kB / 0.9017 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/0.6652, allocations: 184.2 kB / 0.9019 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.6668, allocations: 335.5 kB / 0.9022 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.6724, allocations: 7.283 MB / 0.9093 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6737, allocations: 150.8 kB / 0.9095 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.6738, allocations: 51.95 kB / 0.9095 GB, free: 11.02 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.000766/0.6746, allocations: 374.9 kB / 0.9099 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.675, allocations: 134.4 kB / 0.91 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.6792, allocations: 1.847 MB / 0.9118 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.6792, allocations: 16.08 kB / 0.9118 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6793, allocations: 4 kB / 0.9118 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6793, allocations: 11.91 kB / 0.9118 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006097/0.6854, allocations: 3.454 MB / 0.9152 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6854, allocations: 0 / 0.9152 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.6869, allocations: 315.6 kB / 0.9155 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007611/0.6876, allocations: 180.1 kB / 0.9157 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.6878, allocations: 51.95 kB / 0.9157 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005412/0.6932, allocations: 7.322 MB / 0.9229 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6932, allocations: 0 / 0.9229 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.697, allocations: 1.707 MB / 0.9246 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/0.6977, allocations: 402.9 kB / 0.9249 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/0.698, allocations: 32 kB / 0.925 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.6994, allocations: 101 kB / 0.9251 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.6997, allocations: 113.1 kB / 0.9252 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/0.6999, allocations: 75.94 kB / 0.9252 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008328/0.7007, allocations: 0.5825 MB / 0.9258 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7007, allocations: 0 / 0.9258 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001612/0.7023, allocations: 0.5649 MB / 0.9264 GB, free: 8.863 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.005506/0.7079, allocations: 2.875 MB / 0.9292 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004942/0.7128, allocations: 2.273 MB / 0.9314 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.7128, allocations: 4.562 kB / 0.9314 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.7148, allocations: 1.305 MB / 0.9327 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.7171, allocations: 0.5133 MB / 0.9332 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.7352, allocations: 10.62 MB / 0.9435 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00097/0.7362, allocations: 1.296 MB / 0.9448 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001835/0.7381, allocations: 430.1 kB / 0.9452 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009283/0.739, allocations: 0.6476 MB / 0.9459 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.739, allocations: 0 / 0.9459 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07174/0.8108, allocations: 36.44 MB / 0.9814 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.39, allocations: 11.25 kB / 0.9814 GB, free: 0.6094 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)