Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.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.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.545/0.545, allocations: 95.61 MB / 110.6 MB, free: 9.207 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.001172/0.001172, allocations: 177.3 kB / 134.2 MB, free: 2.156 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.58/1.58, allocations: 170.7 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.001734/0.001734, allocations: 105.6 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 61.52 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.284, allocations: 376.8 MB / 0.8799 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.284, allocations: 89.08 kB / 0.88 GB, free: 33.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.159/3.444, allocations: 0.5957 GB / 1.476 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.625e-06/3.444, allocations: 0 / 1.476 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001449/3.444, allocations: 55.08 kB / 1.476 GB, free: 59.95 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004017/3.448, allocations: 1.78 MB / 1.477 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/3.448, allocations: 12.45 kB / 1.477 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/3.449, allocations: 202.4 kB / 1.478 GB, free: 58.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07097/3.52, allocations: 37.64 MB / 1.514 GB, free: 24.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/3.52, allocations: 133.3 kB / 1.515 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/3.52, allocations: 92 kB / 1.515 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/3.522, allocations: 1.048 MB / 1.516 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/3.522, allocations: 0 / 1.516 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/3.522, allocations: 40 kB / 1.516 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/3.522, allocations: 28 kB / 1.516 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/3.523, allocations: 0.6727 MB / 1.516 GB, free: 22.17 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.005091/3.529, allocations: 4.349 MB / 1.521 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/3.529, allocations: 398.1 kB / 1.521 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/3.53, allocations: 0.4912 MB / 1.522 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/3.53, allocations: 46.8 kB / 1.522 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 2.274e-06/3.53, allocations: 0 / 1.522 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.002074/3.532, allocations: 0.9044 MB / 1.522 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/3.532, allocations: 265 kB / 1.523 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/3.533, allocations: 1.054 MB / 1.524 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/3.533, allocations: 41.7 kB / 1.524 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/3.534, allocations: 0.6665 MB / 1.524 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/3.534, allocations: 153.8 kB / 1.525 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/3.534, allocations: 10.95 kB / 1.525 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/3.534, allocations: 338 kB / 1.525 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/3.534, allocations: 141.2 kB / 1.525 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/3.535, allocations: 0.5094 MB / 1.526 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/3.535, allocations: 219.8 kB / 1.526 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/3.535, allocations: 0 / 1.526 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001005/3.536, allocations: 0.718 MB / 1.526 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007725/3.537, allocations: 3.081 MB / 1.529 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/3.537, allocations: 4 kB / 1.529 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/3.538, allocations: 149.5 kB / 1.53 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/3.539, allocations: 259.7 kB / 1.53 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/3.54, allocations: 2.288 MB / 1.532 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/3.542, allocations: 131.2 kB / 1.532 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/3.542, allocations: 35 kB / 1.532 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/3.542, allocations: 8 kB / 1.532 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001068/3.543, allocations: 0.7179 MB / 1.533 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/3.543, allocations: 8 kB / 1.533 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/3.543, allocations: 61.69 kB / 1.533 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/3.544, allocations: 200.2 kB / 1.533 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/3.545, allocations: 2.991 MB / 1.536 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/3.546, allocations: 119 kB / 1.536 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/3.547, allocations: 35.98 kB / 1.536 GB, free: 408 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009603/3.548, allocations: 345.2 kB / 1.537 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/3.548, allocations: 150.2 kB / 1.537 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/3.549, allocations: 0.6173 MB / 1.537 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/3.549, allocations: 11.98 kB / 1.537 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/3.549, allocations: 0 / 1.537 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/3.549, allocations: 3.391 kB / 1.537 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/3.552, allocations: 1.617 MB / 1.539 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/3.552, allocations: 7.953 kB / 1.539 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/3.553, allocations: 230.5 kB / 1.539 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/3.554, allocations: 93.56 kB / 1.539 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/3.554, allocations: 11.98 kB / 1.539 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/3.556, allocations: 3.644 MB / 1.543 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/3.557, allocations: 320 / 1.543 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/3.558, allocations: 0.8557 MB / 1.544 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009214/3.559, allocations: 211.2 kB / 1.544 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004945/3.56, allocations: 11.95 kB / 1.544 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/3.561, allocations: 71.78 kB / 1.544 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/3.561, allocations: 31.95 kB / 1.544 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/3.562, allocations: 35.95 kB / 1.544 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002375/3.564, allocations: 0.8127 MB / 1.545 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/3.564, allocations: 0 / 1.545 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00429/3.568, allocations: 0.6555 MB / 1.545 GB, free: 6.512 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/3.57, allocations: 0.7254 MB / 1.546 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00308/3.573, allocations: 1.003 MB / 1.547 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/3.574, allocations: 448 / 1.547 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/3.575, allocations: 382.7 kB / 1.547 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/3.578, allocations: 0.6791 MB / 1.548 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/3.583, allocations: 2.15 MB / 1.55 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/3.584, allocations: 1.16 MB / 1.551 GB, free: 360 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00168/3.586, allocations: 290 kB / 1.552 GB, free: 88 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3521/3.938, allocations: 103.5 kB / 1.552 GB, free: 61.22 MB / 0.5417 GB Notification: Performance of SimCode: time 1.643e-06/3.938, allocations: 0.5 kB / 1.552 GB, free: 61.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.08784/4.026, allocations: 27.92 MB / 1.579 GB, free: 60.46 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesExplicit.pipe 2>&1)