Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001128/0.001128, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001149/0.001149, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.83 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1784/0.4922, allocations: 173.8 MB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7295/1.222, allocations: 15.47 MB / 1.253 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/1.224, allocations: 29.56 kB / 1.253 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/1.226, allocations: 0.5255 MB / 1.253 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005467/1.231, allocations: 1.437 MB / 1.254 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004744/1.236, allocations: 1.528 MB / 1.256 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005197/1.241, allocations: 2.905 MB / 1.259 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/1.244, allocations: 1.83 MB / 1.261 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005942/1.25, allocations: 1.383 MB / 1.262 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/1.253, allocations: 1.092 MB / 1.263 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004985/1.253, allocations: 198 kB / 1.263 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/1.257, allocations: 1.341 MB / 1.264 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000635/1.257, allocations: 0.5696 MB / 1.265 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/1.259, allocations: 1.037 MB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005741/1.265, allocations: 3.025 MB / 1.269 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.265, allocations: 0 / 1.269 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.376e-06/1.265, allocations: 1.125 kB / 1.269 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001064/1.265, allocations: 0 / 1.269 GB, free: 4.992 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.006339/1.271, allocations: 2.306 MB / 1.271 GB, free: 19.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.271, allocations: 8.625 kB / 1.271 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/1.275, allocations: 469.8 kB / 1.272 GB, free: 19.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/1.278, allocations: 1.094 MB / 1.273 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.278, allocations: 120.8 kB / 1.273 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002894/1.278, allocations: 161.1 kB / 1.273 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/1.282, allocations: 1.786 MB / 1.275 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/1.282, allocations: 5.203 kB / 1.275 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/1.282, allocations: 66.25 kB / 1.275 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.283, allocations: 50.42 kB / 1.275 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/1.287, allocations: 1.773 MB / 1.277 GB, free: 19.14 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.01148/1.298, allocations: 6.175 MB / 1.283 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/1.301, allocations: 1.564 MB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/1.302, allocations: 0.5667 MB / 1.285 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.303, allocations: 0.887 MB / 1.286 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/1.305, allocations: 0.797 MB / 1.286 GB, free: 14.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 6.262e-06/1.305, allocations: 0 / 1.286 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.005303/1.31, allocations: 1.884 MB / 1.288 GB, free: 14.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.311, allocations: 201.2 kB / 1.288 GB, free: 14.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.312, allocations: 0.9818 MB / 1.289 GB, free: 14.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/1.313, allocations: 51.64 kB / 1.289 GB, free: 14.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005885/1.313, allocations: 0.6611 MB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/1.314, allocations: 419.7 kB / 1.29 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/1.314, allocations: 228.6 kB / 1.291 GB, free: 13.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.314, allocations: 360 kB / 1.291 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000943/1.315, allocations: 446.2 kB / 1.291 GB, free: 13.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.316, allocations: 0.5998 MB / 1.292 GB, free: 13.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/1.318, allocations: 1.04 MB / 1.293 GB, free: 13.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/1.318, allocations: 3.938 kB / 1.293 GB, free: 13.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003228/1.322, allocations: 1.349 MB / 1.294 GB, free: 13.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.322, allocations: 8.594 kB / 1.294 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.322, allocations: 2.906 kB / 1.294 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/1.322, allocations: 84.3 kB / 1.294 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.324, allocations: 294.2 kB / 1.295 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.326, allocations: 1.665 MB / 1.296 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.327, allocations: 159.6 kB / 1.297 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/1.328, allocations: 53.5 kB / 1.297 GB, free: 11.62 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.0008923/1.329, allocations: 389.1 kB / 1.297 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/1.329, allocations: 143.1 kB / 1.297 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/1.332, allocations: 1.599 MB / 1.299 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.332, allocations: 13.94 kB / 1.299 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.332, allocations: 0.9688 kB / 1.299 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.333, allocations: 11.06 kB / 1.299 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/1.338, allocations: 3.164 MB / 1.302 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.338, allocations: 4.484 kB / 1.302 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.339, allocations: 266.2 kB / 1.302 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/1.34, allocations: 79 kB / 1.302 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.34, allocations: 35.41 kB / 1.302 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/1.342, allocations: 1.687 MB / 1.304 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.342, allocations: 0 / 1.304 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/1.346, allocations: 2.177 MB / 1.306 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/1.347, allocations: 398.8 kB / 1.306 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/1.347, allocations: 25.31 kB / 1.306 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.349, allocations: 123.8 kB / 1.306 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.349, allocations: 98.72 kB / 1.307 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.349, allocations: 62 kB / 1.307 GB, free: 9.055 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009288/1.35, allocations: 0.6793 MB / 1.307 GB, free: 8.945 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.35, allocations: 0 / 1.307 GB, free: 8.945 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001598/1.352, allocations: 0.5524 MB / 1.308 GB, free: 8.852 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.001708/1.353, allocations: 0.7031 MB / 1.308 GB, free: 8.637 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004079/1.357, allocations: 1.699 MB / 1.31 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.357, allocations: 2.344 kB / 1.31 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/1.359, allocations: 0.758 MB / 1.311 GB, free: 8.359 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.362, allocations: 0.5822 MB / 1.311 GB, free: 8.281 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/1.367, allocations: 3.588 MB / 1.315 GB, free: 6.461 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/1.368, allocations: 1.307 MB / 1.316 GB, free: 5.723 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002073/1.37, allocations: 435.1 kB / 1.317 GB, free: 5.594 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/1.371, allocations: 157.2 kB / 1.317 GB, free: 5.586 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.371, allocations: 0 / 1.317 GB, free: 5.586 MB / 1.014 GB Notification: Performance of Templates: time 0.04588/1.417, allocations: 26.73 MB / 1.343 GB, free: 13.68 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)