Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.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.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5545/0.5545, allocations: 95.62 MB / 110.6 MB, free: 9.375 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.001202/0.001202, allocations: 170.3 kB / 134.2 MB, free: 2.266 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.533/1.533, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.001704/0.001704, allocations: 108.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 61.53 MB / 0.512 GB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.3, allocations: 372.1 MB / 0.8753 GB, free: 38.69 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.3, allocations: 84.89 kB / 0.8754 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.412/2.712, allocations: 427.2 MB / 1.293 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.286e-06/2.712, allocations: 0 / 1.293 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002126/2.712, allocations: 39.92 kB / 1.293 GB, free: 61.7 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003839/2.716, allocations: 1.388 MB / 1.294 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/2.716, allocations: 19.92 kB / 1.294 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/2.717, allocations: 134.5 kB / 1.294 GB, free: 60.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/2.733, allocations: 7.153 MB / 1.301 GB, free: 52.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/2.733, allocations: 41 kB / 1.301 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/2.733, allocations: 56 kB / 1.301 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/2.735, allocations: 0.6411 MB / 1.302 GB, free: 52.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/2.735, allocations: 0 / 1.302 GB, free: 52.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/2.735, allocations: 24 kB / 1.302 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/2.735, allocations: 15.98 kB / 1.302 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/2.736, allocations: 487.5 kB / 1.302 GB, free: 51.57 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.004047/2.74, allocations: 2.68 MB / 1.305 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/2.741, allocations: 367 kB / 1.305 GB, free: 48.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.343e-05/2.741, allocations: 85.11 kB / 1.305 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/2.741, allocations: 38.56 kB / 1.305 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.344e-06/2.741, allocations: 0 / 1.305 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.00286/2.744, allocations: 1.014 MB / 1.306 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/2.744, allocations: 110.8 kB / 1.306 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/2.745, allocations: 0.8481 MB / 1.307 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/2.745, allocations: 33.7 kB / 1.307 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/2.746, allocations: 0.5007 MB / 1.308 GB, free: 45.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/2.746, allocations: 98.17 kB / 1.308 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/2.746, allocations: 12 kB / 1.308 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/2.746, allocations: 322 kB / 1.308 GB, free: 45.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/2.746, allocations: 107.9 kB / 1.308 GB, free: 44.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/2.746, allocations: 347.6 kB / 1.309 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/2.747, allocations: 173.7 kB / 1.309 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.747, allocations: 0 / 1.309 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008847/2.748, allocations: 0.5514 MB / 1.309 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/2.748, allocations: 1.065 MB / 1.31 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.748, allocations: 4 kB / 1.31 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/2.749, allocations: 336.4 kB / 1.311 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/2.75, allocations: 43.98 kB / 1.311 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006758/2.75, allocations: 0.8733 MB / 1.312 GB, free: 41.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/2.751, allocations: 79.8 kB / 1.312 GB, free: 41.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/2.751, allocations: 23.98 kB / 1.312 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/2.751, allocations: 5.562 kB / 1.312 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008728/2.752, allocations: 0.5743 MB / 1.312 GB, free: 40.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/2.752, allocations: 7.984 kB / 1.312 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/2.752, allocations: 163.5 kB / 1.312 GB, free: 40.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/2.752, allocations: 39.92 kB / 1.313 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/2.755, allocations: 2.811 MB / 1.315 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/2.756, allocations: 67.86 kB / 1.315 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/2.756, allocations: 8 kB / 1.315 GB, free: 37.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (18): * Single equations (assignments): 17 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006314/2.756, allocations: 440.7 kB / 1.316 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/2.757, allocations: 102.8 kB / 1.316 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/2.758, allocations: 0.6905 MB / 1.317 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/2.758, allocations: 4 kB / 1.317 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/2.758, allocations: 0 / 1.317 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/2.758, allocations: 11.97 kB / 1.317 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/2.76, allocations: 1.567 MB / 1.318 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/2.76, allocations: 3.938 kB / 1.318 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/2.76, allocations: 59.94 kB / 1.318 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/2.76, allocations: 88.73 kB / 1.318 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/2.76, allocations: 8 kB / 1.318 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/2.762, allocations: 2.651 MB / 1.321 GB, free: 31.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.762, allocations: 0 / 1.321 GB, free: 31.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/2.763, allocations: 0.6692 MB / 1.321 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/2.763, allocations: 159.9 kB / 1.322 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/2.763, allocations: 4 kB / 1.322 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/2.764, allocations: 47.89 kB / 1.322 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/2.764, allocations: 23.97 kB / 1.322 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/2.764, allocations: 11.94 kB / 1.322 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007382/2.765, allocations: 0.6829 MB / 1.322 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.765, allocations: 0 / 1.322 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001367/2.766, allocations: 432 kB / 1.323 GB, free: 29.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007455/2.767, allocations: 297.5 kB / 1.323 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001301/2.768, allocations: 0.7165 MB / 1.324 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/2.768, allocations: 3.938 kB / 1.324 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006908/2.769, allocations: 342.8 kB / 1.324 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/2.77, allocations: 382.2 kB / 1.324 GB, free: 27.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/2.773, allocations: 1.89 MB / 1.326 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/2.773, allocations: 1.184 MB / 1.327 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006981/2.774, allocations: 199.8 kB / 1.328 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/2.774, allocations: 59.44 kB / 1.328 GB, free: 24.28 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/2.774, allocations: 0 / 1.328 GB, free: 24.28 MB / 0.5261 GB Notification: Performance of Templates: time 0.02575/2.8, allocations: 15.68 MB / 1.343 GB, free: 8.695 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe 2>&1)