Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7804/0.7804, allocations: 140.1 MB / 156 MB, free: 8.418 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 190.2 kB / 188.5 MB, free: 8.988 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 426.3 MB, free: 8.129 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.000856, allocations: 98.28 kB / 0.4945 GB, free: 8.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001746/0.001746, allocations: 268.5 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004859, allocations: 16 kB / 0.662 GB, free: 6.727 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4083, allocations: 79.3 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.83/4.239, allocations: 2.032 GB / 2.772 GB, free: 177.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/4.239, allocations: 91.95 kB / 2.772 GB, free: 177.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.7005/4.94, allocations: 220 MB / 2.986 GB, free: 193.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.627e-06/4.94, allocations: 0 / 2.986 GB, free: 193.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.189e-05/4.94, allocations: 10.22 kB / 2.986 GB, free: 193.1 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001039/4.941, allocations: 0.594 MB / 2.987 GB, free: 192.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/4.941, allocations: 14.59 kB / 2.987 GB, free: 192.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/4.941, allocations: 53.22 kB / 2.987 GB, free: 192.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/4.942, allocations: 315.4 kB / 2.987 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/4.942, allocations: 13.53 kB / 2.987 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/4.942, allocations: 23.38 kB / 2.987 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/4.942, allocations: 191.9 kB / 2.988 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/4.942, allocations: 3.938 kB / 2.988 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/4.942, allocations: 7.5 kB / 2.988 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/4.942, allocations: 3.531 kB / 2.988 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/4.942, allocations: 136.6 kB / 2.988 GB, free: 192.4 MB / 0.6667 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.0009186/4.943, allocations: 0.7901 MB / 2.989 GB, free: 191.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/4.944, allocations: 83.28 kB / 2.989 GB, free: 191.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/4.944, allocations: 74.56 kB / 2.989 GB, free: 191.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/4.944, allocations: 187.7 kB / 2.989 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/4.944, allocations: 37.27 kB / 2.989 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/4.944, allocations: 0 / 2.989 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0005954/4.945, allocations: 221.7 kB / 2.989 GB, free: 191.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/4.945, allocations: 51.41 kB / 2.989 GB, free: 191.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/4.945, allocations: 268.1 kB / 2.989 GB, free: 191.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/4.945, allocations: 29.64 kB / 2.989 GB, free: 191.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/4.945, allocations: 147.9 kB / 2.99 GB, free: 191.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/4.945, allocations: 39.16 kB / 2.99 GB, free: 191.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/4.945, allocations: 0 / 2.99 GB, free: 191.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.017e-05/4.945, allocations: 335.2 kB / 2.99 GB, free: 190.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/4.945, allocations: 47.06 kB / 2.99 GB, free: 190.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/4.945, allocations: 102.2 kB / 2.99 GB, free: 190.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/4.946, allocations: 130 kB / 2.99 GB, free: 190.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/4.946, allocations: 3.281 kB / 2.99 GB, free: 190.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002911/4.946, allocations: 167.8 kB / 2.99 GB, free: 190.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/4.946, allocations: 117.3 kB / 2.99 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/4.946, allocations: 0 / 2.99 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/4.946, allocations: 3.625 kB / 2.99 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/4.946, allocations: 28.06 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/4.946, allocations: 4.25 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/4.946, allocations: 23.97 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/4.946, allocations: 19.19 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/4.946, allocations: 7.344 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002331/4.947, allocations: 109.5 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/4.947, allocations: 0 / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-06/4.947, allocations: 3.219 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/4.947, allocations: 31.34 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-06/4.947, allocations: 0 / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/4.947, allocations: 24.22 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/4.947, allocations: 9.094 kB / 2.991 GB, free: 190.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001303/4.947, allocations: 216.6 kB / 2.991 GB, free: 190.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/4.947, allocations: 33.62 kB / 2.991 GB, free: 190.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/4.947, allocations: 169 kB / 2.991 GB, free: 190.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/4.947, allocations: 0 / 2.991 GB, free: 190.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/4.947, allocations: 0 / 2.991 GB, free: 190.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/4.947, allocations: 3.562 kB / 2.991 GB, free: 190.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007147/4.948, allocations: 0.5935 MB / 2.992 GB, free: 190.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/4.948, allocations: 0 / 2.992 GB, free: 190.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/4.948, allocations: 30.45 kB / 2.992 GB, free: 190.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/4.948, allocations: 0 / 2.992 GB, free: 190.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/4.948, allocations: 3.812 kB / 2.992 GB, free: 190.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/4.948, allocations: 6.719 kB / 2.992 GB, free: 190.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/4.948, allocations: 3.938 kB / 2.992 GB, free: 190.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/4.949, allocations: 300 kB / 2.992 GB, free: 189.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/4.949, allocations: 115.2 kB / 2.992 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/4.949, allocations: 5.375 kB / 2.992 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/4.949, allocations: 21.31 kB / 2.992 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/4.949, allocations: 18.3 kB / 2.992 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/4.949, allocations: 10.94 kB / 2.992 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001419/4.949, allocations: 191.6 kB / 2.992 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/4.949, allocations: 0 / 2.992 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006843/4.95, allocations: 177.1 kB / 2.993 GB, free: 189.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.001152/4.951, allocations: 0.9039 MB / 2.993 GB, free: 189.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000432/4.951, allocations: 167.8 kB / 2.994 GB, free: 189.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/4.951, allocations: 0 / 2.994 GB, free: 189.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/4.952, allocations: 78.33 kB / 2.994 GB, free: 189.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/4.952, allocations: 127.8 kB / 2.994 GB, free: 189.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/4.953, allocations: 0.4952 MB / 2.994 GB, free: 189.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/4.953, allocations: 0.7605 MB / 2.995 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002385/4.954, allocations: 63.86 kB / 2.995 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/4.954, allocations: 18.09 kB / 2.995 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of SimCode: time 3.31e-07/4.954, allocations: 3.938 kB / 2.995 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.01965/4.973, allocations: 14.99 MB / 3.01 GB, free: 186.7 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)