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.5106/0.5106, allocations: 94.7 MB / 107.3 MB, free: 5.184 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.001186/0.001187, allocations: 176.8 kB / 130.7 MB, free: 7.559 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.53/1.53, allocations: 170.5 MB / 324.5 MB, free: 4.008 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.001691/0.001691, allocations: 105.5 kB / 386.6 MB, free: 16.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.21e-05, allocations: 7.938 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5182, allocations: 61.51 MB / 0.5054 GB, free: 49.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8561/1.374, allocations: 372 MB / 0.8686 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.375, allocations: 84.14 kB / 0.8687 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.59/2.965, allocations: 425.7 MB / 1.284 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/2.965, allocations: 0 / 1.284 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001049/2.965, allocations: 39.86 kB / 1.284 GB, free: 36.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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001499/2.966, allocations: 1.101 MB / 1.286 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/2.966, allocations: 12.03 kB / 1.286 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/2.967, allocations: 134.5 kB / 1.286 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/2.98, allocations: 7.106 MB / 1.293 GB, free: 28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/2.98, allocations: 40.94 kB / 1.293 GB, free: 27.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/2.981, allocations: 56 kB / 1.293 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/2.982, allocations: 0.6138 MB / 1.293 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/2.982, allocations: 0 / 1.293 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/2.982, allocations: 20 kB / 1.293 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/2.982, allocations: 12 kB / 1.293 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/2.983, allocations: 443.7 kB / 1.294 GB, free: 26.8 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.00303/2.986, allocations: 2.676 MB / 1.296 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/2.987, allocations: 343.1 kB / 1.297 GB, free: 23.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/2.987, allocations: 161.5 kB / 1.297 GB, free: 23.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/2.987, allocations: 97.08 kB / 1.297 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/2.987, allocations: 30.56 kB / 1.297 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.585e-06/2.987, allocations: 4 kB / 1.297 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001441/2.988, allocations: 0.5401 MB / 1.298 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/2.988, allocations: 106.8 kB / 1.298 GB, free: 22.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/2.989, allocations: 0.8335 MB / 1.298 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/2.989, allocations: 37.7 kB / 1.298 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/2.99, allocations: 0.4968 MB / 1.299 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/2.99, allocations: 102.5 kB / 1.299 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/2.99, allocations: 8 kB / 1.299 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/2.99, allocations: 318 kB / 1.299 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/2.99, allocations: 95.72 kB / 1.299 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/2.99, allocations: 325.9 kB / 1.3 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/2.99, allocations: 143.1 kB / 1.3 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.99, allocations: 4 kB / 1.3 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005993/2.991, allocations: 0.5174 MB / 1.3 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/2.991, allocations: 1.069 MB / 1.301 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/2.991, allocations: 7.984 kB / 1.301 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/2.993, allocations: 341.5 kB / 1.302 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/2.993, allocations: 35.92 kB / 1.302 GB, free: 18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006875/2.993, allocations: 0.8779 MB / 1.303 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/2.994, allocations: 79.81 kB / 1.303 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/2.994, allocations: 27.92 kB / 1.303 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/2.994, allocations: 5.719 kB / 1.303 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007329/2.995, allocations: 0.5393 MB / 1.303 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/2.995, allocations: 0 / 1.303 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/2.995, allocations: 169 kB / 1.303 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/2.995, allocations: 35.92 kB / 1.304 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/2.998, allocations: 2.743 MB / 1.306 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/2.998, allocations: 71.8 kB / 1.306 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/2.998, allocations: 12 kB / 1.306 GB, free: 13.25 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 () * 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.0001307/2.998, allocations: 132.7 kB / 1.306 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/2.999, allocations: 102.7 kB / 1.307 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/3, allocations: 0.6474 MB / 1.307 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/3, allocations: 4 kB / 1.307 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/3, allocations: 0 / 1.307 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/3, allocations: 7.984 kB / 1.307 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/3.001, allocations: 1.524 MB / 1.309 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/3.001, allocations: 0 / 1.309 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/3.002, allocations: 59.94 kB / 1.309 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/3.002, allocations: 88.75 kB / 1.309 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/3.002, allocations: 11.98 kB / 1.309 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/3.003, allocations: 2.62 MB / 1.311 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/3.003, allocations: 7.938 kB / 1.311 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/3.004, allocations: 0.6303 MB / 1.312 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/3.004, allocations: 163.8 kB / 1.312 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/3.004, allocations: 0 / 1.312 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/3.005, allocations: 43.95 kB / 1.312 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/3.005, allocations: 27.91 kB / 1.312 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/3.005, allocations: 15.98 kB / 1.312 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006774/3.005, allocations: 0.6721 MB / 1.313 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/3.005, allocations: 0 / 1.313 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001256/3.007, allocations: 431.4 kB / 1.313 GB, free: 5.664 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 () * 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.0006163/3.007, allocations: 277.1 kB / 1.314 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001095/3.008, allocations: 0.6987 MB / 1.314 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/3.008, allocations: 4 kB / 1.314 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/3.009, allocations: 326.2 kB / 1.315 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/3.01, allocations: 390.8 kB / 1.315 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/3.012, allocations: 1.23 MB / 1.316 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/3.013, allocations: 1.183 MB / 1.317 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001233/3.014, allocations: 0.5422 MB / 1.318 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/3.014, allocations: 43.44 kB / 1.318 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/3.014, allocations: 3.938 kB / 1.318 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of Templates: time 0.3994/3.413, allocations: 18.49 MB / 1.336 GB, free: 145.6 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)