Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7693/0.7693, allocations: 140.1 MB / 156 MB, free: 5.172 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.001051/0.001051, allocations: 180 kB / 188.5 MB, free: 15.84 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.565/1.565, allocations: 205.4 MB / 426.3 MB, free: 8.473 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.0008911/0.0008913, allocations: 90.39 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001695/0.001695, allocations: 268 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004743, allocations: 24 kB / 0.662 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3764, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6783/1.055, allocations: 348 MB / 1.079 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/1.055, allocations: 90.83 kB / 1.079 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7894/1.844, allocations: 250.9 MB / 1.324 GB, free: 85.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.362e-06/1.844, allocations: 4 kB / 1.324 GB, free: 85.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.621e-05/1.845, allocations: 12 kB / 1.324 GB, free: 85.07 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001864/1.846, allocations: 0.9307 MB / 1.325 GB, free: 84.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.846, allocations: 12.03 kB / 1.325 GB, free: 84.08 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/1.847, allocations: 68.12 kB / 1.325 GB, free: 84.01 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/1.847, allocations: 488.5 kB / 1.326 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/1.847, allocations: 29.03 kB / 1.326 GB, free: 83.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/1.848, allocations: 44.36 kB / 1.326 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/1.848, allocations: 306.6 kB / 1.326 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.848, allocations: 3.938 kB / 1.326 GB, free: 83.11 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/1.848, allocations: 12 kB / 1.326 GB, free: 83.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.848, allocations: 8 kB / 1.326 GB, free: 83.09 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/1.849, allocations: 270.5 kB / 1.327 GB, free: 82.83 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.001892/1.851, allocations: 1.337 MB / 1.328 GB, free: 81.38 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/1.851, allocations: 258.5 kB / 1.328 GB, free: 81.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/1.851, allocations: 140.9 kB / 1.328 GB, free: 80.97 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/1.852, allocations: 0.4986 MB / 1.329 GB, free: 80.36 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/1.852, allocations: 38.56 kB / 1.329 GB, free: 80.32 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 2.364e-06/1.852, allocations: 0 / 1.329 GB, free: 80.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.001508/1.853, allocations: 0.5691 MB / 1.329 GB, free: 79.72 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/1.853, allocations: 63.39 kB / 1.329 GB, free: 79.64 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/1.854, allocations: 462.1 kB / 1.33 GB, free: 79.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/1.854, allocations: 29.7 kB / 1.33 GB, free: 79.14 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/1.854, allocations: 248.7 kB / 1.33 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/1.854, allocations: 86.73 kB / 1.33 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/1.854, allocations: 8 kB / 1.33 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/1.854, allocations: 358.7 kB / 1.331 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/1.854, allocations: 123.9 kB / 1.331 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/1.855, allocations: 217.9 kB / 1.331 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/1.855, allocations: 273.6 kB / 1.331 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.855, allocations: 0 / 1.331 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008308/1.856, allocations: 417.6 kB / 1.332 GB, free: 77.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/1.856, allocations: 114.6 kB / 1.332 GB, free: 77.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.856, allocations: 3.938 kB / 1.332 GB, free: 77.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/1.856, allocations: 48.81 kB / 1.332 GB, free: 77.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/1.857, allocations: 83.88 kB / 1.332 GB, free: 77.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003065/1.857, allocations: 0.5562 MB / 1.332 GB, free: 76.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/1.858, allocations: 75.72 kB / 1.332 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/1.858, allocations: 19.97 kB / 1.332 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/1.858, allocations: 4 kB / 1.332 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006112/1.858, allocations: 307.7 kB / 1.333 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/1.858, allocations: 4 kB / 1.333 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/1.858, allocations: 3.938 kB / 1.333 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/1.859, allocations: 91.88 kB / 1.333 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/1.859, allocations: 4 kB / 1.333 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/1.859, allocations: 67.69 kB / 1.333 GB, free: 75.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/1.859, allocations: 12 kB / 1.333 GB, free: 75.96 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002285/1.859, allocations: 253 kB / 1.333 GB, free: 75.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/1.859, allocations: 47.44 kB / 1.333 GB, free: 75.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/1.86, allocations: 439.7 kB / 1.334 GB, free: 75.21 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.86, allocations: 0 / 1.334 GB, free: 75.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.86, allocations: 4 kB / 1.334 GB, free: 75.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.86, allocations: 0 / 1.334 GB, free: 75.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.862, allocations: 0.9454 MB / 1.334 GB, free: 74.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.862, allocations: 0 / 1.334 GB, free: 74.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/1.862, allocations: 59.89 kB / 1.335 GB, free: 74.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/1.862, allocations: 41.08 kB / 1.335 GB, free: 74.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.862, allocations: 12 kB / 1.335 GB, free: 74.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002228/1.862, allocations: 0.5601 MB / 1.335 GB, free: 73.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.862, allocations: 7.938 kB / 1.335 GB, free: 73.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/1.863, allocations: 0.4992 MB / 1.336 GB, free: 72.95 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/1.863, allocations: 160.3 kB / 1.336 GB, free: 72.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/1.863, allocations: 8 kB / 1.336 GB, free: 72.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/1.864, allocations: 51.86 kB / 1.336 GB, free: 72.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/1.864, allocations: 23.84 kB / 1.336 GB, free: 72.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/1.864, allocations: 12 kB / 1.336 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002882/1.864, allocations: 322.9 kB / 1.336 GB, free: 72.37 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.9e-07/1.864, allocations: 0 / 1.336 GB, free: 72.37 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008876/1.865, allocations: 275.7 kB / 1.336 GB, free: 72.1 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006435/1.866, allocations: 372 kB / 1.337 GB, free: 71.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001059/1.867, allocations: 483.4 kB / 1.337 GB, free: 71.27 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.867, allocations: 0 / 1.337 GB, free: 71.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003484/1.867, allocations: 181.6 kB / 1.337 GB, free: 71.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/1.868, allocations: 250.2 kB / 1.338 GB, free: 70.85 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/1.87, allocations: 0.9666 MB / 1.339 GB, free: 69.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/1.87, allocations: 0.863 MB / 1.339 GB, free: 68.95 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005254/1.87, allocations: 120.6 kB / 1.34 GB, free: 68.84 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/1.871, allocations: 43.42 kB / 1.34 GB, free: 68.79 MB / 0.6667 GB Notification: Performance of SimCode: time 5.21e-07/1.871, allocations: 0 / 1.34 GB, free: 68.79 MB / 0.6667 GB Notification: Performance of Templates: time 0.01722/1.888, allocations: 11.24 MB / 1.351 GB, free: 57.69 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)