Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001273/0.001273, allocations: 197.6 kB / 16.26 MB, free: 6.621 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.5 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.332, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1941/0.5262, allocations: 173.8 MB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6897/1.216, allocations: 15.47 MB / 1.253 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/1.218, allocations: 26.81 kB / 1.253 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/1.219, allocations: 0.521 MB / 1.253 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004349/1.224, allocations: 1.441 MB / 1.254 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003857/1.228, allocations: 1.531 MB / 1.256 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003906/1.232, allocations: 2.907 MB / 1.259 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/1.234, allocations: 1.831 MB / 1.261 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004769/1.239, allocations: 1.382 MB / 1.262 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/1.24, allocations: 1.082 MB / 1.263 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/1.241, allocations: 196.9 kB / 1.263 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/1.244, allocations: 1.345 MB / 1.264 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005928/1.244, allocations: 0.5674 MB / 1.265 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/1.246, allocations: 1.036 MB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004978/1.251, allocations: 3.031 MB / 1.269 GB, free: 5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.251, allocations: 0 / 1.269 GB, free: 5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.251, allocations: 3.844 kB / 1.269 GB, free: 5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.753e-05/1.251, allocations: 0.9375 kB / 1.269 GB, free: 5 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.005678/1.256, allocations: 2.31 MB / 1.271 GB, free: 19.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.256, allocations: 9.844 kB / 1.271 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/1.26, allocations: 464.5 kB / 1.272 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/1.262, allocations: 1.092 MB / 1.273 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.262, allocations: 120.3 kB / 1.273 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/1.262, allocations: 159.6 kB / 1.273 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/1.266, allocations: 1.785 MB / 1.275 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/1.266, allocations: 2.766 kB / 1.275 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/1.267, allocations: 69.62 kB / 1.275 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/1.267, allocations: 46.84 kB / 1.275 GB, free: 19.17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/1.271, allocations: 1.774 MB / 1.277 GB, free: 19.15 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.01127/1.282, allocations: 6.184 MB / 1.283 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/1.285, allocations: 1.558 MB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.286, allocations: 0.5644 MB / 1.285 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/1.288, allocations: 0.8931 MB / 1.286 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002173/1.29, allocations: 0.7953 MB / 1.286 GB, free: 14.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 9.658e-06/1.29, allocations: 0.9062 kB / 1.286 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.006037/1.296, allocations: 1.888 MB / 1.288 GB, free: 14.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.296, allocations: 198 kB / 1.288 GB, free: 14.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/1.298, allocations: 0.9848 MB / 1.289 GB, free: 14.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/1.298, allocations: 54.83 kB / 1.289 GB, free: 14.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/1.299, allocations: 0.6575 MB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/1.299, allocations: 420.2 kB / 1.29 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/1.3, allocations: 231.5 kB / 1.291 GB, free: 13.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.3, allocations: 352.7 kB / 1.291 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000956/1.301, allocations: 451.2 kB / 1.291 GB, free: 13.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/1.302, allocations: 0.5988 MB / 1.292 GB, free: 13.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/1.304, allocations: 1.034 MB / 1.293 GB, free: 13.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.304, allocations: 5.875 kB / 1.293 GB, free: 13.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003309/1.308, allocations: 1.35 MB / 1.294 GB, free: 13.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.308, allocations: 6.125 kB / 1.294 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.308, allocations: 2.406 kB / 1.294 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/1.308, allocations: 87.19 kB / 1.294 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.31, allocations: 293.9 kB / 1.295 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/1.312, allocations: 1.664 MB / 1.296 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.314, allocations: 160.3 kB / 1.297 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.314, allocations: 52.53 kB / 1.297 GB, free: 11.63 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008781/1.315, allocations: 390.7 kB / 1.297 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/1.315, allocations: 139.2 kB / 1.297 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/1.319, allocations: 1.6 MB / 1.299 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.319, allocations: 13.81 kB / 1.299 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.319, allocations: 4.969 kB / 1.299 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/1.319, allocations: 14.16 kB / 1.299 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006226/1.325, allocations: 3.167 MB / 1.302 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.325, allocations: 1.281 kB / 1.302 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.327, allocations: 266.9 kB / 1.302 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/1.327, allocations: 75.59 kB / 1.302 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/1.327, allocations: 37.86 kB / 1.302 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/1.33, allocations: 1.676 MB / 1.304 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.33, allocations: 0.6875 kB / 1.304 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/1.335, allocations: 2.185 MB / 1.306 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.336, allocations: 391.2 kB / 1.306 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004834/1.337, allocations: 30.69 kB / 1.306 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.338, allocations: 124.5 kB / 1.306 GB, free: 9.062 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/1.339, allocations: 92.81 kB / 1.307 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.339, allocations: 61.16 kB / 1.307 GB, free: 9.059 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001293/1.34, allocations: 0.685 MB / 1.307 GB, free: 8.949 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.34, allocations: 0 / 1.307 GB, free: 8.949 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002158/1.342, allocations: 0.5491 MB / 1.308 GB, free: 8.855 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002183/1.345, allocations: 0.7047 MB / 1.308 GB, free: 8.641 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00441/1.349, allocations: 1.7 MB / 1.31 GB, free: 8.484 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.349, allocations: 2.625 kB / 1.31 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.351, allocations: 0.7573 MB / 1.311 GB, free: 8.363 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.354, allocations: 0.5756 MB / 1.311 GB, free: 8.293 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006144/1.36, allocations: 3.595 MB / 1.315 GB, free: 6.469 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.361, allocations: 1.305 MB / 1.316 GB, free: 5.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002041/1.363, allocations: 435.3 kB / 1.317 GB, free: 5.602 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/1.363, allocations: 150.2 kB / 1.317 GB, free: 5.598 MB / 1.014 GB Notification: Performance of SimCode: time 1.001e-06/1.363, allocations: 0 / 1.317 GB, free: 5.598 MB / 1.014 GB Notification: Performance of Templates: time 0.04668/1.41, allocations: 26.74 MB / 1.343 GB, free: 13.68 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)