Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, 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.002479/0.002479, allocations: 195.4 kB / 16.14 MB, free: 6.656 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.66 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3601, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9566/1.317, allocations: 235.4 MB / 1.297 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02086/1.338, allocations: 15.93 MB / 1.313 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/1.341, allocations: 56.25 kB / 1.313 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003525/1.345, allocations: 0.8656 MB / 1.314 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009664/1.354, allocations: 2.795 MB / 1.317 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005646/1.36, allocations: 1.504 MB / 1.318 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008084/1.368, allocations: 4.653 MB / 1.323 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/1.371, allocations: 1.082 MB / 1.324 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007621/1.378, allocations: 2.26 MB / 1.326 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/1.381, allocations: 1.123 MB / 1.327 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002703/1.382, allocations: 68.03 kB / 1.327 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008088/1.39, allocations: 3.593 MB / 1.331 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007955/1.391, allocations: 425.5 kB / 1.331 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.392, allocations: 0.7576 MB / 1.332 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005728/1.398, allocations: 3.1 MB / 1.335 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.398, allocations: 0 / 1.335 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.02e-07/1.398, allocations: 0 / 1.335 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.178e-05/1.398, allocations: 0 / 1.335 GB, free: 3.227 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003911/1.402, allocations: 2 MB / 1.337 GB, free: 18.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.402, allocations: 8.469 kB / 1.337 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/1.405, allocations: 0.497 MB / 1.337 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/1.407, allocations: 1.12 MB / 1.338 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008657/1.408, allocations: 242.6 kB / 1.338 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/1.408, allocations: 99.28 kB / 1.339 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/1.411, allocations: 1.321 MB / 1.34 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.411, allocations: 4.938 kB / 1.34 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.411, allocations: 45.25 kB / 1.34 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/1.411, allocations: 44.97 kB / 1.34 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/1.413, allocations: 1.073 MB / 1.341 GB, free: 17.34 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.008144/1.421, allocations: 6.622 MB / 1.347 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.423, allocations: 0.5639 MB / 1.348 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/1.423, allocations: 272.4 kB / 1.348 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/1.424, allocations: 288.5 kB / 1.349 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/1.424, allocations: 41.75 kB / 1.349 GB, free: 12.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.295e-06/1.424, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002463/1.426, allocations: 0.8639 MB / 1.349 GB, free: 12.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/1.426, allocations: 53.88 kB / 1.35 GB, free: 12.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.428, allocations: 1.359 MB / 1.351 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/1.428, allocations: 38.77 kB / 1.351 GB, free: 12.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/1.429, allocations: 0.6861 MB / 1.352 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.429, allocations: 119.5 kB / 1.352 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/1.429, allocations: 150.6 kB / 1.352 GB, free: 11.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003141/1.43, allocations: 331 kB / 1.352 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/1.43, allocations: 313 kB / 1.352 GB, free: 10.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/1.432, allocations: 0.6256 MB / 1.353 GB, free: 10.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/1.433, allocations: 0.8632 MB / 1.354 GB, free: 9.926 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.433, allocations: 4.531 kB / 1.354 GB, free: 9.926 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002305/1.436, allocations: 0.9991 MB / 1.355 GB, free: 9.617 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.436, allocations: 10.12 kB / 1.355 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.436, allocations: 8.312 kB / 1.355 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.359e-05/1.436, allocations: 17 kB / 1.355 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008211/1.437, allocations: 190.5 kB / 1.355 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/1.437, allocations: 18.88 kB / 1.355 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.438, allocations: 214.8 kB / 1.355 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/1.438, allocations: 42.33 kB / 1.355 GB, free: 9.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001408/1.44, allocations: 0.5609 MB / 1.356 GB, free: 9.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001113/1.441, allocations: 0.6298 MB / 1.356 GB, free: 8.777 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001716/1.443, allocations: 0.8526 MB / 1.357 GB, free: 8.246 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/1.443, allocations: 2.75 kB / 1.357 GB, free: 8.246 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002358/1.445, allocations: 1.001 MB / 1.358 GB, free: 7.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.445, allocations: 8.594 kB / 1.358 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.445, allocations: 10.78 kB / 1.358 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.445, allocations: 13.78 kB / 1.358 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007783/1.446, allocations: 191.6 kB / 1.359 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.039e-05/1.446, allocations: 19.17 kB / 1.359 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/1.448, allocations: 152 kB / 1.359 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/1.448, allocations: 36.7 kB / 1.359 GB, free: 7.883 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003265/1.448, allocations: 233.4 kB / 1.359 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/1.448, allocations: 140.2 kB / 1.359 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/1.45, allocations: 0.6703 MB / 1.36 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.45, allocations: 3.375 kB / 1.36 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.45, allocations: 3.188 kB / 1.36 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.45, allocations: 3 kB / 1.36 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/1.454, allocations: 1.931 MB / 1.362 GB, free: 6.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/1.454, allocations: 6.156 kB / 1.362 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/1.454, allocations: 92.25 kB / 1.362 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/1.454, allocations: 6.625 kB / 1.362 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/1.455, allocations: 16.8 kB / 1.362 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.455, allocations: 10.39 kB / 1.362 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.455, allocations: 7.906 kB / 1.362 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.456, allocations: 0.8224 MB / 1.363 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/1.457, allocations: 294.2 kB / 1.363 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/1.457, allocations: 12.16 kB / 1.363 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.458, allocations: 103.9 kB / 1.363 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.458, allocations: 31.78 kB / 1.363 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/1.458, allocations: 29.19 kB / 1.363 GB, free: 5.621 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00166/1.46, allocations: 0.9938 MB / 1.364 GB, free: 5.086 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.46, allocations: 0 / 1.364 GB, free: 5.086 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002067/1.462, allocations: 0.5674 MB / 1.365 GB, free: 5.004 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006819/1.463, allocations: 274 kB / 1.365 GB, free: 4.844 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00291/1.466, allocations: 1.081 MB / 1.366 GB, free: 4.422 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.466, allocations: 3.594 kB / 1.366 GB, free: 4.422 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/1.467, allocations: 259 kB / 1.366 GB, free: 4.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/1.47, allocations: 0.7507 MB / 1.367 GB, free: 3.945 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/1.476, allocations: 2.684 MB / 1.369 GB, free: 2.164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/1.477, allocations: 1.181 MB / 1.371 GB, free: 1.234 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001992/1.479, allocations: 367 kB / 1.371 GB, free: 1.059 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/1.479, allocations: 99.09 kB / 1.371 GB, free: 1.039 MB / 1.014 GB Notification: Performance of SimCode: time 1.793e-06/1.479, allocations: 0 / 1.371 GB, free: 1.039 MB / 1.014 GB Notification: Performance of Templates: time 0.04572/1.525, allocations: 24.11 MB / 1.395 GB, free: 0.8828 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)