Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, 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.001422/0.001423, allocations: 194.5 kB / 16.14 MB, free: 6.688 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 62.06 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3719, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1852/0.5571, allocations: 165.9 MB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02377/0.5809, allocations: 17.11 MB / 1.246 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.5827, allocations: 23.88 kB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.5858, allocations: 469.1 kB / 1.247 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.5931, allocations: 1.442 MB / 1.248 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.5971, allocations: 1.174 MB / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6625/1.26, allocations: 2.834 MB / 1.252 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/1.263, allocations: 1.747 MB / 1.254 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005744/1.269, allocations: 1.188 MB / 1.255 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/1.27, allocations: 0.9559 MB / 1.256 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003303/1.271, allocations: 112 kB / 1.256 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/1.274, allocations: 1.465 MB / 1.257 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/1.274, allocations: 475.2 kB / 1.258 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/1.276, allocations: 0.9404 MB / 1.259 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004753/1.281, allocations: 3.031 MB / 1.262 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.281, allocations: 0.7031 kB / 1.262 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/1.281, allocations: 0 / 1.262 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.258e-05/1.281, allocations: 4 kB / 1.262 GB, free: 6.562 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.005537/1.286, allocations: 2.284 MB / 1.264 GB, free: 21.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.286, allocations: 7.438 kB / 1.264 GB, free: 21.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/1.29, allocations: 0.5107 MB / 1.264 GB, free: 21.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/1.292, allocations: 1.082 MB / 1.266 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/1.292, allocations: 127.4 kB / 1.266 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/1.293, allocations: 168 kB / 1.266 GB, free: 20.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/1.297, allocations: 1.845 MB / 1.268 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/1.297, allocations: 7.906 kB / 1.268 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/1.297, allocations: 73.72 kB / 1.268 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/1.297, allocations: 41.66 kB / 1.268 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003762/1.301, allocations: 1.873 MB / 1.27 GB, free: 20.77 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.01014/1.311, allocations: 5.548 MB / 1.275 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/1.314, allocations: 1.77 MB / 1.277 GB, free: 18.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.315, allocations: 0.6508 MB / 1.277 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00092/1.316, allocations: 0.8102 MB / 1.278 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/1.318, allocations: 0.8889 MB / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.507e-06/1.318, allocations: 0 / 1.279 GB, free: 17.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006419/1.325, allocations: 2.554 MB / 1.281 GB, free: 16.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.325, allocations: 199.3 kB / 1.282 GB, free: 16.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.326, allocations: 0.8362 MB / 1.283 GB, free: 16.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/1.326, allocations: 55.8 kB / 1.283 GB, free: 15.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/1.327, allocations: 0.6404 MB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/1.327, allocations: 489.8 kB / 1.284 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/1.328, allocations: 253.1 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.328, allocations: 355.5 kB / 1.284 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/1.329, allocations: 0.4893 MB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.33, allocations: 0.6384 MB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/1.332, allocations: 1.121 MB / 1.286 GB, free: 14.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.332, allocations: 1.281 kB / 1.286 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003677/1.336, allocations: 1.549 MB / 1.288 GB, free: 14.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.336, allocations: 5.812 kB / 1.288 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.336, allocations: 1.312 kB / 1.288 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000967/1.337, allocations: 188.9 kB / 1.288 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/1.339, allocations: 343.7 kB / 1.288 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/1.345, allocations: 6.792 MB / 1.295 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.347, allocations: 172.1 kB / 1.295 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/1.347, allocations: 61.8 kB / 1.295 GB, free: 8.273 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (156): * Single equations (assignments): 151 * 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.001303/1.348, allocations: 379.9 kB / 1.296 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/1.349, allocations: 133.1 kB / 1.296 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/1.354, allocations: 1.833 MB / 1.298 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.354, allocations: 15.25 kB / 1.298 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.354, allocations: 13.22 kB / 1.298 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.354, allocations: 12.83 kB / 1.298 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007294/1.361, allocations: 3.421 MB / 1.301 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.361, allocations: 3.938 kB / 1.301 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.363, allocations: 323.5 kB / 1.301 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009069/1.364, allocations: 188.6 kB / 1.301 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/1.364, allocations: 41.38 kB / 1.302 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005951/1.37, allocations: 6.807 MB / 1.308 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.37, allocations: 0 / 1.308 GB, free: 1.059 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/1.374, allocations: 1.708 MB / 1.31 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009846/1.375, allocations: 398.3 kB / 1.31 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/1.376, allocations: 33.44 kB / 1.31 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.377, allocations: 129.8 kB / 1.31 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.378, allocations: 110.8 kB / 1.31 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.378, allocations: 76.64 kB / 1.311 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009287/1.379, allocations: 0.5758 MB / 1.311 GB, free: 16.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.41e-07/1.379, allocations: 0 / 1.311 GB, free: 16.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00191/1.381, allocations: 0.6148 MB / 1.312 GB, free: 16.36 MB / 1.029 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.001988/1.383, allocations: 0.7207 MB / 1.312 GB, free: 16.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003521/1.386, allocations: 1.862 MB / 1.314 GB, free: 15.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.386, allocations: 6.656 kB / 1.314 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/1.388, allocations: 1.3 MB / 1.315 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/1.391, allocations: 495 kB / 1.316 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/1.396, allocations: 3.546 MB / 1.319 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009687/1.397, allocations: 1.296 MB / 1.321 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002128/1.4, allocations: 441 kB / 1.321 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/1.4, allocations: 151.5 kB / 1.321 GB, free: 12.23 MB / 1.029 GB Notification: Performance of SimCode: time 4.468e-06/1.4, allocations: 0 / 1.321 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Templates: time 0.04594/1.446, allocations: 26.65 MB / 1.347 GB, free: 4.297 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)