Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5484/0.5484, allocations: 95.61 MB / 110.6 MB, free: 9.367 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001093/0.001093, allocations: 176.1 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.551/1.551, allocations: 170.8 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001648/0.001648, allocations: 124.4 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.258, allocations: 397.7 MB / 0.9003 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.259, allocations: 87.58 kB / 0.9004 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7758/2.034, allocations: 241 MB / 1.136 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.384e-06/2.034, allocations: 0 / 1.136 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.034e-05/2.034, allocations: 27.98 kB / 1.136 GB, free: 7.895 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001682/2.036, allocations: 0.8895 MB / 1.137 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/2.036, allocations: 11.98 kB / 1.137 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/2.037, allocations: 87.05 kB / 1.137 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.392/2.429, allocations: 16.2 MB / 1.153 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/2.429, allocations: 60.41 kB / 1.153 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/2.429, allocations: 43.28 kB / 1.153 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/2.43, allocations: 486.6 kB / 1.153 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/2.43, allocations: 4.75 kB / 1.153 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/2.43, allocations: 22.08 kB / 1.153 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/2.43, allocations: 13.81 kB / 1.153 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/2.431, allocations: 291.8 kB / 1.153 GB, free: 123.9 MB / 0.5261 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.002936/2.434, allocations: 2.089 MB / 1.155 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/2.434, allocations: 120.4 kB / 1.156 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.814e-05/2.434, allocations: 88.33 kB / 1.156 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/2.434, allocations: 35.38 kB / 1.156 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 5.049e-06/2.434, allocations: 2.188 kB / 1.156 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0008279/2.435, allocations: 243.3 kB / 1.156 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/2.435, allocations: 107.7 kB / 1.156 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/2.436, allocations: 486.7 kB / 1.156 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/2.436, allocations: 29.14 kB / 1.157 GB, free: 122 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/2.436, allocations: 346 kB / 1.157 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/2.436, allocations: 36.23 kB / 1.157 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/2.436, allocations: 3.562 kB / 1.157 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001048/2.436, allocations: 367.6 kB / 1.157 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/2.436, allocations: 51.83 kB / 1.157 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/2.437, allocations: 210.2 kB / 1.157 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/2.437, allocations: 82.31 kB / 1.158 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.437, allocations: 2.719 kB / 1.158 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004556/2.437, allocations: 281.1 kB / 1.158 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003206/2.438, allocations: 1.309 MB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/2.438, allocations: 3.938 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/2.438, allocations: 7.594 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/2.438, allocations: 52.88 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/2.438, allocations: 12.55 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/2.438, allocations: 72.69 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/2.438, allocations: 19.59 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/2.438, allocations: 3.875 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003454/2.439, allocations: 196.6 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/2.439, allocations: 3.469 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/2.439, allocations: 8.656 kB / 1.159 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/2.439, allocations: 54.36 kB / 1.16 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/2.439, allocations: 6.344 kB / 1.16 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/2.439, allocations: 63.88 kB / 1.16 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/2.439, allocations: 7.219 kB / 1.16 GB, free: 120 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/2.439, allocations: 255.1 kB / 1.16 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/2.439, allocations: 58.91 kB / 1.16 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/2.44, allocations: 194 kB / 1.16 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/2.44, allocations: 0 / 1.16 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/2.44, allocations: 0 / 1.16 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/2.44, allocations: 2.812 kB / 1.16 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/2.44, allocations: 406.5 kB / 1.16 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/2.44, allocations: 7.422 kB / 1.16 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/2.44, allocations: 25.14 kB / 1.16 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/2.44, allocations: 0 / 1.16 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/2.44, allocations: 9.094 kB / 1.161 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/2.44, allocations: 0 / 1.161 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.44, allocations: 0 / 1.161 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/2.441, allocations: 263.5 kB / 1.161 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/2.441, allocations: 128.8 kB / 1.161 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/2.441, allocations: 2.656 kB / 1.161 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/2.441, allocations: 44.69 kB / 1.161 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/2.441, allocations: 9.125 kB / 1.161 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/2.441, allocations: 9.922 kB / 1.161 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003913/2.442, allocations: 379.1 kB / 1.161 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/2.442, allocations: 0 / 1.161 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001068/2.443, allocations: 296.7 kB / 1.162 GB, free: 119.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000921/2.444, allocations: 397.9 kB / 1.162 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006138/2.444, allocations: 234.5 kB / 1.162 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.444, allocations: 1.219 kB / 1.162 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/2.445, allocations: 48.98 kB / 1.162 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/2.446, allocations: 236.8 kB / 1.162 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/2.447, allocations: 0.9893 MB / 1.163 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/2.448, allocations: 0.8867 MB / 1.164 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004218/2.448, allocations: 108.5 kB / 1.164 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/2.448, allocations: 43.5 kB / 1.164 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.054e-06/2.448, allocations: 0 / 1.164 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.02155/2.47, allocations: 10.35 MB / 1.175 GB, free: 117.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistance.pipe 2>&1)