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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001397/0.001397, 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.001669/0.001669, allocations: 194.9 kB / 16.14 MB, free: 6.691 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.09 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2395, allocations: 157.4 MB / 1.052 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1573/0.3969, allocations: 166 MB / 1.214 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.4166, allocations: 17.1 MB / 1.231 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.4179, allocations: 35.81 kB / 1.231 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.4192, allocations: 461.1 kB / 1.231 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.4229, allocations: 1.45 MB / 1.233 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.4255, allocations: 1.176 MB / 1.234 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002524/0.4281, allocations: 2.84 MB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.43, allocations: 1.744 MB / 1.238 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.4342, allocations: 1.187 MB / 1.24 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009159/0.4351, allocations: 0.9607 MB / 1.241 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.4353, allocations: 112 kB / 1.241 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.4378, allocations: 1.474 MB / 1.242 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.4382, allocations: 466.3 kB / 1.243 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008244/0.439, allocations: 0.9481 MB / 1.243 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.4419, allocations: 3.034 MB / 1.246 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4419, allocations: 0 / 1.246 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.011e-06/0.4419, allocations: 0 / 1.246 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.4419, allocations: 0 / 1.246 GB, free: 0.6641 MB / 0.9981 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.4429/0.8848, allocations: 2.283 MB / 1.249 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.8849, allocations: 13.88 kB / 1.249 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003086/0.8852, allocations: 252.7 kB / 1.249 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/0.8889, allocations: 0.5045 MB / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.8904, allocations: 1.088 MB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-05/0.8905, allocations: 126 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.8907, allocations: 168.9 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.8934, allocations: 1.845 MB / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.8935, allocations: 3.938 kB / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.8936, allocations: 73.62 kB / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.8937, allocations: 41.28 kB / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.8966, allocations: 1.876 MB / 1.255 GB, free: 193.5 MB / 0.9981 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.006905/0.9035, allocations: 5.547 MB / 1.26 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.9062, allocations: 1.756 MB / 1.262 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.9072, allocations: 0.6589 MB / 1.262 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.9078, allocations: 0.8065 MB / 1.263 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/0.9096, allocations: 0.8963 MB / 1.264 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.947e-06/0.9096, allocations: 0 / 1.264 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006773/0.9164, allocations: 2.551 MB / 1.266 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.9165, allocations: 201.2 kB / 1.267 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.9176, allocations: 0.8361 MB / 1.267 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.9177, allocations: 56.89 kB / 1.268 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.9182, allocations: 0.6432 MB / 1.268 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.9185, allocations: 487.8 kB / 1.269 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.9189, allocations: 237.9 kB / 1.269 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.919, allocations: 355.2 kB / 1.269 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.92, allocations: 476.2 kB / 1.27 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.9213, allocations: 0.6333 MB / 1.27 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.9237, allocations: 1.098 MB / 1.271 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9237, allocations: 0.5625 kB / 1.271 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003488/0.9272, allocations: 1.501 MB / 1.273 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.9273, allocations: 6.391 kB / 1.273 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9273, allocations: 1.312 kB / 1.273 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009331/0.9282, allocations: 190.4 kB / 1.273 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.9298, allocations: 336.2 kB / 1.273 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.9339, allocations: 6.773 MB / 1.28 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.9353, allocations: 166.4 kB / 1.28 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.9354, allocations: 54.8 kB / 1.28 GB, free: 179.7 MB / 0.9981 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.0007172/0.9361, allocations: 379.9 kB / 1.28 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.9364, allocations: 132.4 kB / 1.281 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.9405, allocations: 1.844 MB / 1.282 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.9405, allocations: 15.03 kB / 1.282 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9406, allocations: 1.5 kB / 1.282 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.9406, allocations: 13.06 kB / 1.282 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005783/0.9464, allocations: 3.452 MB / 1.286 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9464, allocations: 0 / 1.286 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.9478, allocations: 313 kB / 1.286 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007941/0.9486, allocations: 198.4 kB / 1.286 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.635e-05/0.9488, allocations: 38.81 kB / 1.286 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.9526, allocations: 6.799 MB / 1.293 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9526, allocations: 0 / 1.293 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.9562, allocations: 1.71 MB / 1.295 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.9568, allocations: 401.5 kB / 1.295 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.957, allocations: 31.5 kB / 1.295 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.9583, allocations: 132.6 kB / 1.295 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.9585, allocations: 114.9 kB / 1.295 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.9587, allocations: 83.44 kB / 1.295 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007242/0.9594, allocations: 0.5754 MB / 1.296 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9594, allocations: 0 / 1.296 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001562/0.961, allocations: 0.6026 MB / 1.297 GB, free: 168 MB / 0.9981 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.004949/0.9659, allocations: 2.885 MB / 1.299 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002882/0.9688, allocations: 1.828 MB / 1.301 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.9689, allocations: 0.5625 kB / 1.301 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.9706, allocations: 1.299 MB / 1.302 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.9727, allocations: 0.4903 MB / 1.303 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.9889, allocations: 11.23 MB / 1.314 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.9896, allocations: 1.304 MB / 1.315 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001739/0.9913, allocations: 431.9 kB / 1.316 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007446/0.9921, allocations: 0.6476 MB / 1.316 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.9921, allocations: 0 / 1.316 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/2.057, allocations: 36.01 MB / 1.351 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/2.057, allocations: 285 kB / 1.352 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/5.088, allocations: 3.938 kB / 1.352 GB, free: 116.5 MB / 0.9981 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=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)