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.00114/0.00114, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00117/0.00117, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.165/1.165, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 287 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8327/0.8327, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 94.34 kB / 0.5946 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1226, allocations: 86.99 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.3873/0.5099, allocations: 164.7 MB / 0.8404 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.5265, allocations: 16.98 MB / 0.857 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.528, allocations: 27.69 kB / 0.857 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.5292, allocations: 438.1 kB / 0.8574 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.5329, allocations: 1.362 MB / 0.8587 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.5356, allocations: 1.172 MB / 0.8599 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.5378, allocations: 2.645 MB / 0.8625 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.5395, allocations: 1.8 MB / 0.8642 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.5434, allocations: 1.156 MB / 0.8654 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008514/0.5442, allocations: 0.928 MB / 0.8663 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.5444, allocations: 113.3 kB / 0.8664 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.5468, allocations: 1.466 MB / 0.8678 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.5472, allocations: 479.6 kB / 0.8683 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007207/0.5479, allocations: 0.8992 MB / 0.8691 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.5505, allocations: 2.966 MB / 0.872 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5505, allocations: 3.938 kB / 0.872 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5505, allocations: 3.938 kB / 0.872 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.5505, allocations: 3.938 kB / 0.872 GB, free: 13.46 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.003248/0.5538, allocations: 2.251 MB / 0.8742 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.5538, allocations: 10.12 kB / 0.8743 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002443/0.5541, allocations: 253.4 kB / 0.8745 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/0.5573, allocations: 0.5108 MB / 0.875 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.5586, allocations: 1.082 MB / 0.8761 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.5587, allocations: 125.9 kB / 0.8762 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.5589, allocations: 166.1 kB / 0.8763 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.5615, allocations: 1.842 MB / 0.8781 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5616, allocations: 3.938 kB / 0.8781 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.5617, allocations: 77.69 kB / 0.8782 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.5617, allocations: 40.31 kB / 0.8782 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.5646, allocations: 1.874 MB / 0.8801 GB, free: 8.316 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.006651/0.5712, allocations: 5.179 MB / 0.8851 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.5738, allocations: 1.77 MB / 0.8869 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.5749, allocations: 0.6515 MB / 0.8875 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.5756, allocations: 0.7999 MB / 0.8883 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.5771, allocations: 0.8957 MB / 0.8892 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.105e-06/0.5771, allocations: 4 kB / 0.8892 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.005622/0.5827, allocations: 2.552 MB / 0.8917 GB, free: 14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/0.5828, allocations: 197.2 kB / 0.8918 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5838, allocations: 0.8387 MB / 0.8927 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.584, allocations: 53.7 kB / 0.8927 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.5844, allocations: 0.6484 MB / 0.8933 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.5848, allocations: 480.9 kB / 0.8938 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.5851, allocations: 242.8 kB / 0.894 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5853, allocations: 349.9 kB / 0.8944 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/0.5862, allocations: 474.3 kB / 0.8948 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.5872, allocations: 0.6418 MB / 0.8954 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.5892, allocations: 1.087 MB / 0.8965 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.5892, allocations: 4 kB / 0.8965 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003127/0.5923, allocations: 1.499 MB / 0.898 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5924, allocations: 8 kB / 0.898 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5924, allocations: 0 / 0.898 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008788/0.5933, allocations: 200 kB / 0.8982 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.5947, allocations: 331.6 kB / 0.8985 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/0.5997, allocations: 6.755 MB / 0.9051 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.6011, allocations: 166.7 kB / 0.9052 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.975e-05/0.6012, allocations: 52.2 kB / 0.9053 GB, free: 15.17 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.0007071/0.6019, allocations: 382.1 kB / 0.9057 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.6021, allocations: 130.4 kB / 0.9058 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.606, allocations: 1.85 MB / 0.9076 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.606, allocations: 16 kB / 0.9076 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.606, allocations: 4 kB / 0.9076 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6061, allocations: 7.969 kB / 0.9076 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/0.6115, allocations: 3.443 MB / 0.911 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6115, allocations: 0 / 0.911 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.6129, allocations: 323.5 kB / 0.9113 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007553/0.6137, allocations: 192.1 kB / 0.9115 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/0.6138, allocations: 39.97 kB / 0.9115 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004983/0.6188, allocations: 6.802 MB / 0.9182 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6188, allocations: 0 / 0.9182 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/0.6221, allocations: 1.711 MB / 0.9198 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.6227, allocations: 410.8 kB / 0.9202 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.6229, allocations: 27.98 kB / 0.9202 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.624, allocations: 127.2 kB / 0.9204 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.6242, allocations: 117.1 kB / 0.9205 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.6244, allocations: 71.95 kB / 0.9205 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006886/0.6251, allocations: 0.5786 MB / 0.9211 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6251, allocations: 0 / 0.9211 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001303/0.6264, allocations: 0.5765 MB / 0.9217 GB, free: 13.53 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.004799/0.6312, allocations: 2.888 MB / 0.9245 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002823/0.634, allocations: 1.821 MB / 0.9263 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.6341, allocations: 8.562 kB / 0.9263 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.6358, allocations: 1.313 MB / 0.9276 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.6376, allocations: 472 kB / 0.928 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.6556, allocations: 11.34 MB / 0.9391 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000846/0.6565, allocations: 1.304 MB / 0.9404 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001616/0.6581, allocations: 430.1 kB / 0.9408 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.659, allocations: 0.6437 MB / 0.9414 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.659, allocations: 0 / 0.9414 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.154/1.813, allocations: 35.23 MB / 0.9758 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.813, allocations: 298.9 kB / 0.9761 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/4.586, allocations: 0 / 0.9761 GB, free: 5.863 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)