Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 194.3 kB / 16.14 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.124/2.124, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 55.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4813, allocations: 140.4 MB / 0.949 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1463/0.6276, allocations: 164.7 MB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.6448, allocations: 16.96 MB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009898/0.6458, allocations: 27.81 kB / 1.127 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.647, allocations: 437.3 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.6501, allocations: 1.354 MB / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.6525, allocations: 1.166 MB / 1.129 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.6546, allocations: 2.65 MB / 1.132 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.6563, allocations: 1.802 MB / 1.134 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.6603, allocations: 1.158 MB / 1.135 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.6612, allocations: 0.9255 MB / 1.136 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.6614, allocations: 112 kB / 1.136 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.6636, allocations: 1.466 MB / 1.137 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.664, allocations: 478.2 kB / 1.138 GB, free: 176 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007413/0.6647, allocations: 0.8937 MB / 1.139 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.6674, allocations: 2.975 MB / 1.142 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6674, allocations: 0 / 1.142 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6674, allocations: 0 / 1.142 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.6675, allocations: 0 / 1.142 GB, free: 12.29 MB / 0.9044 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.00334/0.6708, allocations: 2.256 MB / 1.144 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6708, allocations: 12.03 kB / 1.144 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.6711, allocations: 249 kB / 1.144 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.6745, allocations: 0.4972 MB / 1.144 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.6759, allocations: 1.094 MB / 1.146 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.304e-05/0.676, allocations: 123.4 kB / 1.146 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.6762, allocations: 176 kB / 1.146 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.679, allocations: 1.835 MB / 1.148 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.6791, allocations: 3.938 kB / 1.148 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.6792, allocations: 76 kB / 1.148 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.6793, allocations: 40 kB / 1.148 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.6823, allocations: 1.878 MB / 1.15 GB, free: 3.887 MB / 0.9044 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.006677/0.689, allocations: 5.178 MB / 1.155 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.6917, allocations: 1.765 MB / 1.156 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.6929, allocations: 0.6515 MB / 1.157 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007789/0.6937, allocations: 0.8078 MB / 1.158 GB, free: 10.99 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.6951, allocations: 0.8957 MB / 1.159 GB, free: 10.08 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.316e-06/0.6952, allocations: 0 / 1.159 GB, free: 10.08 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.005668/0.7008, allocations: 2.556 MB / 1.161 GB, free: 7.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.7009, allocations: 205.2 kB / 1.161 GB, free: 7.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/0.7019, allocations: 0.8309 MB / 1.162 GB, free: 6.309 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.702, allocations: 61.69 kB / 1.162 GB, free: 6.242 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.7024, allocations: 0.6484 MB / 1.163 GB, free: 5.582 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.7027, allocations: 477 kB / 1.163 GB, free: 5.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.7031, allocations: 238.8 kB / 1.164 GB, free: 4.871 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7032, allocations: 353.9 kB / 1.164 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000939/0.7041, allocations: 474.4 kB / 1.164 GB, free: 4.055 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.7052, allocations: 0.6301 MB / 1.165 GB, free: 3.387 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.7072, allocations: 1.103 MB / 1.166 GB, free: 2.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7072, allocations: 0 / 1.166 GB, free: 2.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003186/0.7104, allocations: 1.499 MB / 1.167 GB, free: 0.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7104, allocations: 10.28 kB / 1.167 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.7105, allocations: 3.938 kB / 1.167 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/0.7113, allocations: 192.2 kB / 1.168 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.7128, allocations: 323.6 kB / 1.168 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004879/0.7177, allocations: 6.77 MB / 1.175 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.7188, allocations: 162.8 kB / 1.175 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.7189, allocations: 51.95 kB / 1.175 GB, free: 8.562 MB / 0.9356 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.0005815/0.7195, allocations: 369.5 kB / 1.175 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.7198, allocations: 138.4 kB / 1.175 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.7237, allocations: 1.854 MB / 1.177 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.7237, allocations: 16 kB / 1.177 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7237, allocations: 3.938 kB / 1.177 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.7237, allocations: 7.969 kB / 1.177 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/0.7291, allocations: 3.435 MB / 1.18 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.7291, allocations: 3.938 kB / 1.18 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.7305, allocations: 323.5 kB / 1.181 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007787/0.7313, allocations: 188.1 kB / 1.181 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-05/0.7314, allocations: 39.97 kB / 1.181 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/0.7362, allocations: 6.806 MB / 1.188 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7362, allocations: 0 / 1.188 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/0.7395, allocations: 1.707 MB / 1.189 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.74, allocations: 410.9 kB / 1.19 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.7402, allocations: 35.91 kB / 1.19 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.7414, allocations: 117.8 kB / 1.19 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.7416, allocations: 109.2 kB / 1.19 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.7418, allocations: 71.94 kB / 1.19 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000675/0.7424, allocations: 0.5825 MB / 1.191 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7425, allocations: 3.938 kB / 1.191 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001283/0.7437, allocations: 0.5804 MB / 1.191 GB, free: 6.934 MB / 0.9512 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.004979/0.7487, allocations: 2.881 MB / 1.194 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.7516, allocations: 1.832 MB / 1.196 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7517, allocations: 0.5625 kB / 1.196 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.7535, allocations: 1.301 MB / 1.197 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.7555, allocations: 492.4 kB / 1.198 GB, free: 476 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.7744, allocations: 11.33 MB / 1.209 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/0.7752, allocations: 1.3 MB / 1.21 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001686/0.7769, allocations: 446 kB / 1.21 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/0.7778, allocations: 0.6515 MB / 1.211 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.7778, allocations: 0 / 1.211 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.881/3.659, allocations: 35.18 MB / 1.245 GB, free: 277 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/3.659, allocations: 281.1 kB / 1.246 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/7.599, allocations: 3.844 kB / 1.246 GB, free: 276.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)