Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.597/1.597, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 180.4 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008877/0.0008878, allocations: 97.89 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.632e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.6996, allocations: 115.3 MB / 0.9644 GB, free: 79.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.655/5.354, allocations: 2.094 GB / 3.058 GB, free: 65.87 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/5.355, allocations: 83.95 kB / 3.058 GB, free: 65.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.03/7.384, allocations: 472.3 MB / 3.519 GB, free: 234.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/7.385, allocations: 0 / 3.519 GB, free: 234.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001285/7.385, allocations: 47.56 kB / 3.519 GB, free: 234.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.003577/7.388, allocations: 1.762 MB / 3.521 GB, free: 233.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/7.388, allocations: 5.906 kB / 3.521 GB, free: 233.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/7.391, allocations: 451.6 kB / 3.521 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/7.393, allocations: 0.9719 MB / 3.522 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/7.393, allocations: 53.98 kB / 3.522 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/7.393, allocations: 90.66 kB / 3.523 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/7.396, allocations: 1.514 MB / 3.524 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/7.398, allocations: 1.411 MB / 3.525 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/7.398, allocations: 4.703 kB / 3.525 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/7.399, allocations: 10.91 kB / 3.525 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/7.399, allocations: 37.41 kB / 3.525 GB, free: 232.9 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.008482/7.407, allocations: 5.418 MB / 3.531 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/7.409, allocations: 1.362 MB / 3.532 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/7.409, allocations: 492.9 kB / 3.533 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/7.41, allocations: 0.8896 MB / 3.533 GB, free: 229.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/7.411, allocations: 0.6702 MB / 3.534 GB, free: 229.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=117): time 3.787e-06/7.411, allocations: 2.719 kB / 3.534 GB, free: 229.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=117): time 0.002845/7.414, allocations: 1.101 MB / 3.535 GB, free: 229.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/7.414, allocations: 248.9 kB / 3.535 GB, free: 228.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/7.415, allocations: 0.6735 MB / 3.536 GB, free: 228.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/7.415, allocations: 28.11 kB / 3.536 GB, free: 228.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/7.416, allocations: 0.6412 MB / 3.537 GB, free: 228.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/7.416, allocations: 376.5 kB / 3.537 GB, free: 228.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/7.416, allocations: 0 / 3.537 GB, free: 228.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001009/7.417, allocations: 353.4 kB / 3.537 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/7.417, allocations: 351.9 kB / 3.538 GB, free: 227.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/7.418, allocations: 0.5017 MB / 3.538 GB, free: 227.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/7.419, allocations: 436.8 kB / 3.539 GB, free: 227.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/7.419, allocations: 0 / 3.539 GB, free: 227.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002434/7.421, allocations: 1.087 MB / 3.54 GB, free: 227.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/7.421, allocations: 5.938 kB / 3.54 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/7.421, allocations: 2.781 kB / 3.54 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/7.422, allocations: 83.08 kB / 3.54 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/7.423, allocations: 267.5 kB / 3.54 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/7.425, allocations: 1.474 MB / 3.542 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/7.426, allocations: 122.7 kB / 3.542 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/7.426, allocations: 41.48 kB / 3.542 GB, free: 226.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002929/7.426, allocations: 122.3 kB / 3.542 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/7.427, allocations: 112.8 kB / 3.542 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/7.43, allocations: 1.376 MB / 3.543 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/7.43, allocations: 14.09 kB / 3.543 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/7.43, allocations: 0.5625 kB / 3.543 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/7.43, allocations: 6.844 kB / 3.543 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/7.436, allocations: 2.742 MB / 3.546 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/7.436, allocations: 2.344 kB / 3.546 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/7.437, allocations: 273.3 kB / 3.546 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/7.438, allocations: 83.53 kB / 3.546 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/7.438, allocations: 19.62 kB / 3.546 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/7.439, allocations: 1.489 MB / 3.548 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/7.439, allocations: 1.062 kB / 3.548 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/7.443, allocations: 1.877 MB / 3.55 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/7.444, allocations: 390.6 kB / 3.55 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/7.445, allocations: 8.453 kB / 3.55 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/7.446, allocations: 98.27 kB / 3.55 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/7.446, allocations: 82.53 kB / 3.55 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/7.446, allocations: 56.19 kB / 3.55 GB, free: 224.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008422/7.447, allocations: 0.5272 MB / 3.551 GB, free: 224 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/7.447, allocations: 0 / 3.551 GB, free: 224 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002239/7.449, allocations: 0.5744 MB / 3.551 GB, free: 224 MB / 0.948 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003749/7.453, allocations: 1.894 MB / 3.553 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00218/7.455, allocations: 1.058 MB / 3.554 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/7.455, allocations: 3.156 kB / 3.554 GB, free: 223.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/7.456, allocations: 0.6596 MB / 3.555 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/7.458, allocations: 415.2 kB / 3.555 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/7.464, allocations: 2.189 MB / 3.557 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/7.465, allocations: 1.308 MB / 3.559 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001929/7.467, allocations: 407.1 kB / 3.559 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/7.467, allocations: 134.9 kB / 3.559 GB, free: 222 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/7.467, allocations: 0 / 3.559 GB, free: 222 MB / 0.948 GB Notification: Performance of Templates: time 0.05047/7.517, allocations: 28.63 MB / 3.587 GB, free: 221.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)