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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006797/0.006797, allocations: 102 kB / 15.73 MB, free: 5.988 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.001664/0.001664, allocations: 194.5 kB / 16.67 MB, free: 5.926 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.45 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2141, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1666/0.3807, allocations: 167.1 MB / 1.251 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5266/0.9073, allocations: 16.9 MB / 1.267 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.9084, allocations: 27.94 kB / 1.267 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.9097, allocations: 0.5098 MB / 1.268 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.9132, allocations: 1.512 MB / 1.269 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.9159, allocations: 1.315 MB / 1.27 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002491/0.9184, allocations: 2.494 MB / 1.273 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.9208, allocations: 1.935 MB / 1.275 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.9241, allocations: 1.318 MB / 1.276 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.9255, allocations: 0.9548 MB / 1.277 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004349/0.9259, allocations: 208.2 kB / 1.277 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.9287, allocations: 1.423 MB / 1.279 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.9292, allocations: 0.553 MB / 1.279 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009597/0.9301, allocations: 0.9968 MB / 1.28 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.9339, allocations: 3.051 MB / 1.283 GB, free: 2.531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9339, allocations: 0 / 1.283 GB, free: 2.531 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9339, allocations: 0 / 1.283 GB, free: 2.531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.049e-05/0.934, allocations: 0.9062 kB / 1.283 GB, free: 2.531 MB / 1.014 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.00382/0.9378, allocations: 2.253 MB / 1.285 GB, free: 1.457 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.9378, allocations: 10.5 kB / 1.285 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002829/0.9381, allocations: 251.3 kB / 1.285 GB, free: 1.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.9417, allocations: 0.5088 MB / 1.286 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.9435, allocations: 1.127 MB / 1.287 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.9436, allocations: 127.1 kB / 1.287 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.9438, allocations: 167.8 kB / 1.287 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/0.9469, allocations: 1.846 MB / 1.289 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.947, allocations: 0.875 kB / 1.289 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.9472, allocations: 79.06 kB / 1.289 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.9472, allocations: 41.38 kB / 1.289 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/0.9505, allocations: 1.872 MB / 1.291 GB, free: 0.7266 MB / 1.014 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.007281/0.9578, allocations: 5.129 MB / 1.296 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.9608, allocations: 1.758 MB / 1.298 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.9619, allocations: 0.6497 MB / 1.298 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008819/0.9628, allocations: 0.809 MB / 1.299 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.9644, allocations: 0.8945 MB / 1.3 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.406e-06/0.9644, allocations: 0 / 1.3 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006333/0.9708, allocations: 2.553 MB / 1.303 GB, free: 12.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9709, allocations: 201.1 kB / 1.303 GB, free: 12.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.972, allocations: 0.8282 MB / 1.304 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.9721, allocations: 58.61 kB / 1.304 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/0.9726, allocations: 0.6464 MB / 1.304 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.973, allocations: 482.3 kB / 1.305 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.9733, allocations: 238.3 kB / 1.305 GB, free: 11.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9735, allocations: 359.7 kB / 1.305 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009897/0.9745, allocations: 476.6 kB / 1.306 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.9756, allocations: 0.6326 MB / 1.306 GB, free: 11.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.9778, allocations: 1.1 MB / 1.307 GB, free: 11.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9778, allocations: 3.938 kB / 1.307 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003526/0.9813, allocations: 1.495 MB / 1.309 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.9813, allocations: 9.469 kB / 1.309 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9813, allocations: 1.156 kB / 1.309 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/0.9823, allocations: 190.1 kB / 1.309 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.9839, allocations: 328.3 kB / 1.309 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.9895, allocations: 7.273 MB / 1.317 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.9909, allocations: 155.3 kB / 1.317 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.991, allocations: 52.11 kB / 1.317 GB, free: 4.344 MB / 1.029 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.0007921/0.9918, allocations: 384 kB / 1.317 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.9921, allocations: 133.5 kB / 1.317 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.9962, allocations: 1.842 MB / 1.319 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.9963, allocations: 16.5 kB / 1.319 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.9963, allocations: 6.344 kB / 1.319 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.9963, allocations: 8.344 kB / 1.319 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/1.002, allocations: 3.443 MB / 1.322 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.002, allocations: 8.812 kB / 1.322 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.003, allocations: 318.6 kB / 1.323 GB, free: 3.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007338/1.004, allocations: 176.6 kB / 1.323 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-05/1.004, allocations: 43.05 kB / 1.323 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005216/1.01, allocations: 7.318 MB / 1.33 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.01, allocations: 4.781 kB / 1.33 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/1.013, allocations: 1.707 MB / 1.332 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006976/1.014, allocations: 404.4 kB / 1.332 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/1.014, allocations: 27.88 kB / 1.332 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.015, allocations: 102.3 kB / 1.332 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/1.015, allocations: 122.9 kB / 1.332 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/1.016, allocations: 71.3 kB / 1.332 GB, free: 12.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007178/1.016, allocations: 0.5767 MB / 1.333 GB, free: 11.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.016, allocations: 2.781 kB / 1.333 GB, free: 11.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001525/1.018, allocations: 0.5739 MB / 1.334 GB, free: 11.82 MB / 1.045 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.005208/1.023, allocations: 2.89 MB / 1.336 GB, free: 10.39 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003069/1.026, allocations: 1.833 MB / 1.338 GB, free: 9.422 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.026, allocations: 3.344 kB / 1.338 GB, free: 9.422 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/1.028, allocations: 1.31 MB / 1.34 GB, free: 8.633 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.03, allocations: 0.5012 MB / 1.34 GB, free: 8.453 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.047, allocations: 10.03 MB / 1.35 GB, free: 3.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/1.048, allocations: 1.3 MB / 1.351 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001557/1.05, allocations: 438.3 kB / 1.351 GB, free: 2.898 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008755/1.05, allocations: 0.649 MB / 1.352 GB, free: 2.426 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/1.05, allocations: 4 kB / 1.352 GB, free: 2.422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.729/1.779, allocations: 36.75 MB / 1.388 GB, free: 11.22 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/15.71, allocations: 3.984 kB / 1.388 GB, free: 11.21 MB / 1.076 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)