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.524/0.524, allocations: 94.7 MB / 107.3 MB, free: 5.199 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.001242/0.001242, allocations: 164 kB / 130.7 MB, free: 7.562 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.529/1.529, allocations: 170.5 MB / 324.5 MB, free: 4.004 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.001661/0.001661, allocations: 108.4 kB / 386.6 MB, free: 16.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.894e-05/4.897e-05, allocations: 7.938 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5398, allocations: 61.51 MB / 0.5054 GB, free: 49.45 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7949/1.335, allocations: 397.6 MB / 0.8936 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.335, allocations: 86.78 kB / 0.8937 GB, free: 492 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.251/2.586, allocations: 240.2 MB / 1.128 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/2.586, allocations: 0 / 1.128 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.986e-05/2.586, allocations: 22.3 kB / 1.128 GB, free: 123.5 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.001411/2.587, allocations: 0.7949 MB / 1.129 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/2.587, allocations: 7.906 kB / 1.129 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/2.588, allocations: 86.98 kB / 1.129 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03877/2.626, allocations: 16.1 MB / 1.145 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/2.627, allocations: 62.17 kB / 1.145 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/2.627, allocations: 40.38 kB / 1.145 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/2.628, allocations: 456.6 kB / 1.145 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/2.628, allocations: 6.875 kB / 1.145 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/2.628, allocations: 20.72 kB / 1.145 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/2.628, allocations: 10.91 kB / 1.145 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/2.629, allocations: 248.8 kB / 1.146 GB, free: 122 MB / 0.5261 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.002954/2.632, allocations: 2.098 MB / 1.148 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/2.632, allocations: 91.61 kB / 1.148 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/2.632, allocations: 35.8 kB / 1.148 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/2.632, allocations: 86.48 kB / 1.148 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/2.632, allocations: 41.19 kB / 1.148 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 4.098e-06/2.632, allocations: 0 / 1.148 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0005932/2.633, allocations: 170.6 kB / 1.148 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/2.633, allocations: 103.4 kB / 1.148 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/2.634, allocations: 484.2 kB / 1.149 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/2.634, allocations: 33.48 kB / 1.149 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/2.634, allocations: 339.7 kB / 1.149 GB, free: 120 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/2.634, allocations: 32.81 kB / 1.149 GB, free: 120 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-06/2.634, allocations: 3.875 kB / 1.149 GB, free: 120 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001569/2.634, allocations: 374.6 kB / 1.149 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/2.634, allocations: 35.59 kB / 1.149 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/2.634, allocations: 179.5 kB / 1.15 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/2.634, allocations: 68.88 kB / 1.15 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/2.635, allocations: 0 / 1.15 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003923/2.635, allocations: 244.5 kB / 1.15 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004141/2.635, allocations: 1.31 MB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/2.635, allocations: 3.531 kB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/2.635, allocations: 6.203 kB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/2.636, allocations: 59.91 kB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/2.636, allocations: 6.641 kB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/2.636, allocations: 74.16 kB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/2.636, allocations: 13.75 kB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/2.636, allocations: 3.438 kB / 1.151 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003267/2.637, allocations: 161 kB / 1.152 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/2.637, allocations: 4.531 kB / 1.152 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/2.637, allocations: 5.547 kB / 1.152 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/2.637, allocations: 53.69 kB / 1.152 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/2.637, allocations: 12.73 kB / 1.152 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/2.637, allocations: 62.72 kB / 1.152 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/2.637, allocations: 12.83 kB / 1.152 GB, free: 118.1 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 () * 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.0001091/2.637, allocations: 127 kB / 1.152 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/2.637, allocations: 59.14 kB / 1.152 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/2.638, allocations: 148.2 kB / 1.152 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/2.638, allocations: 1.219 kB / 1.152 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/2.638, allocations: 0 / 1.152 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/2.638, allocations: 4.891 kB / 1.152 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/2.638, allocations: 408.5 kB / 1.152 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/2.638, allocations: 1.25 kB / 1.152 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/2.639, allocations: 25.53 kB / 1.152 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/2.639, allocations: 0 / 1.152 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/2.639, allocations: 6.031 kB / 1.152 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/2.639, allocations: 1.344 kB / 1.152 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/2.639, allocations: 3.375 kB / 1.152 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/2.639, allocations: 237.7 kB / 1.153 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/2.639, allocations: 123.9 kB / 1.153 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/2.639, allocations: 9.406 kB / 1.153 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/2.639, allocations: 42 kB / 1.153 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/2.639, allocations: 13.08 kB / 1.153 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/2.64, allocations: 10.44 kB / 1.153 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004687/2.64, allocations: 374.2 kB / 1.153 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/2.64, allocations: 0 / 1.153 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001131/2.641, allocations: 299.3 kB / 1.153 GB, free: 117.3 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 () * 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.000954/2.642, allocations: 393.3 kB / 1.154 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004862/2.643, allocations: 210.4 kB / 1.154 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/2.643, allocations: 1.656 kB / 1.154 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/2.643, allocations: 27.84 kB / 1.154 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/2.644, allocations: 235.8 kB / 1.154 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/2.645, allocations: 0.5351 MB / 1.155 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/2.645, allocations: 0.888 MB / 1.156 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006258/2.646, allocations: 132.4 kB / 1.156 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.949e-05/2.646, allocations: 40.06 kB / 1.156 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/2.646, allocations: 0 / 1.156 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.0274/2.674, allocations: 12.05 MB / 1.168 GB, free: 116 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)