Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_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.007365/0.007364, allocations: 96.61 kB / 15.73 MB, free: 6.039 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.002115/0.002115, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.206/1.206, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.427/2.427, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 75.88 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2528, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.6074/0.8603, allocations: 168.3 MB / 1.406 GB, free: 7.344 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.8785, allocations: 17.08 MB / 1.423 GB, free: 9.531 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007973/0.8793, allocations: 31.03 kB / 1.423 GB, free: 9.52 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.8805, allocations: 0.5519 MB / 1.423 GB, free: 9.047 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.8836, allocations: 1.612 MB / 1.425 GB, free: 7.812 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.886, allocations: 1.326 MB / 1.426 GB, free: 6.809 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.8882, allocations: 2.695 MB / 1.429 GB, free: 5.176 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.8901, allocations: 1.883 MB / 1.431 GB, free: 3.934 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.8929, allocations: 1.343 MB / 1.432 GB, free: 3.18 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009/0.8938, allocations: 0.979 MB / 1.433 GB, free: 2.508 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.894, allocations: 206.2 kB / 1.433 GB, free: 2.508 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.8961, allocations: 1.417 MB / 1.435 GB, free: 1.77 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.8966, allocations: 0.5608 MB / 1.435 GB, free: 1.207 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000898/0.8975, allocations: 1.034 MB / 1.436 GB, free: 172 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.9006, allocations: 3.126 MB / 1.439 GB, free: 13.03 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.9006, allocations: 4 kB / 1.439 GB, free: 13.03 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9006, allocations: 4 kB / 1.439 GB, free: 13.02 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.9006, allocations: 3.938 kB / 1.439 GB, free: 13.02 MB / 1.139 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.003213/0.9039, allocations: 2.338 MB / 1.442 GB, free: 10.61 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.9039, allocations: 12.03 kB / 1.442 GB, free: 10.6 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/0.9042, allocations: 249 kB / 1.442 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.9072, allocations: 0.5178 MB / 1.442 GB, free: 9.828 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.9087, allocations: 1.133 MB / 1.443 GB, free: 8.648 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.9088, allocations: 127.4 kB / 1.444 GB, free: 8.523 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.909, allocations: 164 kB / 1.444 GB, free: 8.363 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.9118, allocations: 1.843 MB / 1.446 GB, free: 6.469 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.9118, allocations: 0 / 1.446 GB, free: 6.469 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.912, allocations: 79.98 kB / 1.446 GB, free: 6.391 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.912, allocations: 44 kB / 1.446 GB, free: 6.348 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.9151, allocations: 1.875 MB / 1.447 GB, free: 4.469 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006848/0.9219, allocations: 5.728 MB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.9248, allocations: 1.769 MB / 1.455 GB, free: 12.51 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.9259, allocations: 0.6435 MB / 1.455 GB, free: 11.86 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008416/0.9268, allocations: 0.8117 MB / 1.456 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.9283, allocations: 0.8802 MB / 1.457 GB, free: 9.984 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 2.184e-06/0.9283, allocations: 0 / 1.457 GB, free: 9.984 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.005576/0.9339, allocations: 2.568 MB / 1.46 GB, free: 7.305 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.934, allocations: 205.2 kB / 1.46 GB, free: 7.062 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.9349, allocations: 0.831 MB / 1.461 GB, free: 6.207 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/0.935, allocations: 57.7 kB / 1.461 GB, free: 6.145 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.9355, allocations: 0.6577 MB / 1.461 GB, free: 5.477 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.9359, allocations: 0.4957 MB / 1.462 GB, free: 4.977 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.9362, allocations: 238.8 kB / 1.462 GB, free: 4.734 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9364, allocations: 361.9 kB / 1.462 GB, free: 4.375 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009283/0.9373, allocations: 474.4 kB / 1.463 GB, free: 3.914 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.9384, allocations: 0.6301 MB / 1.463 GB, free: 3.242 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.9405, allocations: 1.103 MB / 1.464 GB, free: 2.133 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9405, allocations: 0 / 1.464 GB, free: 2.133 MB / 1.154 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003122/0.9436, allocations: 1.504 MB / 1.466 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.9436, allocations: 4 kB / 1.466 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.9436, allocations: 4.078 kB / 1.466 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008264/0.9445, allocations: 196.1 kB / 1.466 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.9458, allocations: 323.5 kB / 1.466 GB, free: 76 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.9515, allocations: 7.287 MB / 1.474 GB, free: 8.082 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/0.9524, allocations: 153.1 kB / 1.474 GB, free: 7.934 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.9525, allocations: 51.97 kB / 1.474 GB, free: 7.883 MB / 1.17 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.0005137/0.9531, allocations: 369.7 kB / 1.474 GB, free: 7.512 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.9533, allocations: 143.1 kB / 1.474 GB, free: 7.371 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.9571, allocations: 1.843 MB / 1.476 GB, free: 5.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.9571, allocations: 23.92 kB / 1.476 GB, free: 5.477 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9572, allocations: 8 kB / 1.476 GB, free: 5.469 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.9572, allocations: 3.984 kB / 1.476 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/0.9625, allocations: 3.44 MB / 1.479 GB, free: 1.945 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9625, allocations: 0 / 1.479 GB, free: 1.945 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.9638, allocations: 323.5 kB / 1.48 GB, free: 1.629 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000669/0.9645, allocations: 176.2 kB / 1.48 GB, free: 1.441 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.9646, allocations: 39.97 kB / 1.48 GB, free: 1.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005575/0.9702, allocations: 7.323 MB / 1.487 GB, free: 9.371 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9702, allocations: 0 / 1.487 GB, free: 9.371 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.9735, allocations: 1.717 MB / 1.489 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.974, allocations: 411.7 kB / 1.489 GB, free: 7.195 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.9741, allocations: 27.94 kB / 1.489 GB, free: 7.168 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9751, allocations: 106.1 kB / 1.489 GB, free: 7.066 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.9754, allocations: 113.2 kB / 1.489 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.9755, allocations: 67.89 kB / 1.489 GB, free: 6.891 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006812/0.9762, allocations: 0.5825 MB / 1.49 GB, free: 6.297 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9762, allocations: 0 / 1.49 GB, free: 6.297 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001157/0.9773, allocations: 0.6116 MB / 1.491 GB, free: 5.684 MB / 1.186 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.005374/0.9827, allocations: 2.891 MB / 1.493 GB, free: 2.945 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.9856, allocations: 1.836 MB / 1.495 GB, free: 1.043 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9856, allocations: 0.5625 kB / 1.495 GB, free: 1.043 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.9874, allocations: 1.309 MB / 1.497 GB, free: 15.67 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.9893, allocations: 0.5246 MB / 1.497 GB, free: 15.16 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.004, allocations: 9.967 MB / 1.507 GB, free: 5.027 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008666/1.005, allocations: 1.3 MB / 1.508 GB, free: 3.695 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001235/1.007, allocations: 446.3 kB / 1.508 GB, free: 3.254 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/1.007, allocations: 0.6515 MB / 1.509 GB, free: 2.602 MB / 1.201 GB Notification: Performance of SimCode: time 2.51e-07/1.007, allocations: 0 / 1.509 GB, free: 2.602 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.08/12.09, allocations: 37.61 MB / 1.546 GB, free: 13.45 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.84/46.93, allocations: 7.875 kB / 1.546 GB, free: 13.44 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)