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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.7843/0.7843, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 192.5 kB / 191.5 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009799/0.00098, allocations: 76.41 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 266.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 16.75 kB / 0.6929 GB, free: 59.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2027, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8678/1.071, allocations: 350 MB / 1.116 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.071, allocations: 95.33 kB / 1.116 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9693/2.04, allocations: 257.4 MB / 1.367 GB, free: 53.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/2.04, allocations: 0 / 1.367 GB, free: 53.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.701e-05/2.04, allocations: 15.98 kB / 1.367 GB, free: 53.74 MB / 0.698 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.002319/2.043, allocations: 0.935 MB / 1.368 GB, free: 52.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/2.043, allocations: 8.031 kB / 1.368 GB, free: 52.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/2.043, allocations: 63.25 kB / 1.368 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/2.044, allocations: 479.4 kB / 1.368 GB, free: 52.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/2.044, allocations: 28.66 kB / 1.368 GB, free: 52.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/2.044, allocations: 36 kB / 1.369 GB, free: 52.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/2.045, allocations: 310 kB / 1.369 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/2.045, allocations: 0 / 1.369 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/2.045, allocations: 8 kB / 1.369 GB, free: 51.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/2.045, allocations: 8 kB / 1.369 GB, free: 51.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/2.045, allocations: 270.5 kB / 1.369 GB, free: 51.52 MB / 0.698 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.002183/2.048, allocations: 1.337 MB / 1.37 GB, free: 50.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/2.048, allocations: 282.4 kB / 1.371 GB, free: 49.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/2.049, allocations: 0.4986 MB / 1.371 GB, free: 49.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/2.049, allocations: 30.56 kB / 1.371 GB, free: 49.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/2.049, allocations: 0 / 1.371 GB, free: 49.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001761/2.05, allocations: 0.5831 MB / 1.372 GB, free: 48.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/2.05, allocations: 55.41 kB / 1.372 GB, free: 48.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/2.051, allocations: 401.4 kB / 1.372 GB, free: 48.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/2.051, allocations: 33.7 kB / 1.372 GB, free: 48.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/2.051, allocations: 248.7 kB / 1.372 GB, free: 47.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/2.051, allocations: 86.97 kB / 1.373 GB, free: 47.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/2.051, allocations: 8 kB / 1.373 GB, free: 47.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001166/2.051, allocations: 370.7 kB / 1.373 GB, free: 47.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/2.052, allocations: 115.9 kB / 1.373 GB, free: 47.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/2.052, allocations: 218.8 kB / 1.373 GB, free: 46.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/2.052, allocations: 142.5 kB / 1.373 GB, free: 46.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/2.052, allocations: 0 / 1.373 GB, free: 46.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009173/2.053, allocations: 408.5 kB / 1.374 GB, free: 46.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/2.053, allocations: 285.1 kB / 1.374 GB, free: 46.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/2.053, allocations: 3.938 kB / 1.374 GB, free: 46.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/2.054, allocations: 52.78 kB / 1.374 GB, free: 46.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/2.054, allocations: 79.89 kB / 1.374 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003777/2.054, allocations: 0.5601 MB / 1.375 GB, free: 45.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/2.055, allocations: 71.7 kB / 1.375 GB, free: 45.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/2.055, allocations: 15.98 kB / 1.375 GB, free: 45.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/2.055, allocations: 6.031 kB / 1.375 GB, free: 45.28 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006341/2.056, allocations: 303.7 kB / 1.375 GB, free: 44.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/2.056, allocations: 3.984 kB / 1.375 GB, free: 44.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-06/2.056, allocations: 7.953 kB / 1.375 GB, free: 44.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/2.056, allocations: 87.89 kB / 1.375 GB, free: 44.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/2.056, allocations: 0 / 1.375 GB, free: 44.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/2.057, allocations: 67.69 kB / 1.375 GB, free: 44.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/2.057, allocations: 19.98 kB / 1.375 GB, free: 44.8 MB / 0.698 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.0003584/2.057, allocations: 245 kB / 1.375 GB, free: 44.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/2.057, allocations: 43.44 kB / 1.376 GB, free: 44.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008754/2.058, allocations: 442.8 kB / 1.376 GB, free: 44.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/2.058, allocations: 11.88 kB / 1.376 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/2.058, allocations: 0 / 1.376 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/2.058, allocations: 3.984 kB / 1.376 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/2.06, allocations: 0.9451 MB / 1.377 GB, free: 43.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/2.06, allocations: 3.984 kB / 1.377 GB, free: 43.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/2.06, allocations: 55.91 kB / 1.377 GB, free: 42.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/2.06, allocations: 44.95 kB / 1.377 GB, free: 42.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/2.06, allocations: 8 kB / 1.377 GB, free: 42.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002654/2.06, allocations: 0.5641 MB / 1.378 GB, free: 42.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/2.06, allocations: 0 / 1.378 GB, free: 42.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/2.061, allocations: 0.537 MB / 1.378 GB, free: 41.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/2.061, allocations: 164.3 kB / 1.378 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/2.061, allocations: 4 kB / 1.378 GB, free: 41.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/2.062, allocations: 47.94 kB / 1.378 GB, free: 41.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/2.062, allocations: 23.98 kB / 1.378 GB, free: 41.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/2.062, allocations: 15.98 kB / 1.378 GB, free: 41.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003109/2.062, allocations: 314.9 kB / 1.379 GB, free: 41.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.062, allocations: 0 / 1.379 GB, free: 41.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009869/2.063, allocations: 275.6 kB / 1.379 GB, free: 40.89 MB / 0.698 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.000824/2.064, allocations: 383.7 kB / 1.379 GB, free: 40.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001152/2.065, allocations: 483.3 kB / 1.38 GB, free: 40.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.065, allocations: 0 / 1.38 GB, free: 40.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/2.066, allocations: 175.8 kB / 1.38 GB, free: 39.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/2.067, allocations: 248.5 kB / 1.38 GB, free: 39.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/2.068, allocations: 0.9712 MB / 1.381 GB, free: 38.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/2.069, allocations: 0.8708 MB / 1.382 GB, free: 37.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005073/2.069, allocations: 124.1 kB / 1.382 GB, free: 37.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/2.069, allocations: 39.44 kB / 1.382 GB, free: 37.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/2.069, allocations: 0 / 1.382 GB, free: 37.57 MB / 0.698 GB Notification: Performance of Templates: time 0.01838/2.088, allocations: 11.04 MB / 1.393 GB, free: 26.69 MB / 0.698 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)