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.8545/0.8545, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001073/0.001073, allocations: 184.1 kB / 182.2 MB, free: 9.453 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.535/1.535, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009152/0.000915, allocations: 92.03 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001797, allocations: 280.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.898e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5076, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9902/1.498, allocations: 349.3 MB / 1.098 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.498, allocations: 91.19 kB / 1.099 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.055/2.553, allocations: 254.8 MB / 1.347 GB, free: 102.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/2.553, allocations: 0 / 1.347 GB, free: 102.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.402e-05/2.553, allocations: 19.98 kB / 1.347 GB, free: 102.6 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.001951/2.555, allocations: 0.8263 MB / 1.348 GB, free: 101.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/2.555, allocations: 12.03 kB / 1.348 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/2.556, allocations: 63.25 kB / 1.348 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/2.557, allocations: 471.5 kB / 1.349 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/2.557, allocations: 8 kB / 1.349 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/2.557, allocations: 24 kB / 1.349 GB, free: 101.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004693/2.557, allocations: 189.5 kB / 1.349 GB, free: 100.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/2.558, allocations: 234.1 kB / 1.349 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/2.558, allocations: 0 / 1.349 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/2.558, allocations: 0 / 1.349 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/2.558, allocations: 8 kB / 1.349 GB, free: 100.7 MB / 0.698 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.002554/2.56, allocations: 1.251 MB / 1.35 GB, free: 99.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/2.561, allocations: 238.5 kB / 1.351 GB, free: 99.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/2.561, allocations: 101.9 kB / 1.351 GB, free: 99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/2.562, allocations: 0.4947 MB / 1.351 GB, free: 98.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/2.562, allocations: 46.53 kB / 1.351 GB, free: 98.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.086e-06/2.562, allocations: 0 / 1.351 GB, free: 98.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0008856/2.562, allocations: 262.9 kB / 1.352 GB, free: 98.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/2.563, allocations: 59.41 kB / 1.352 GB, free: 98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/2.563, allocations: 353.2 kB / 1.352 GB, free: 97.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/2.563, allocations: 25.7 kB / 1.352 GB, free: 97.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/2.563, allocations: 244.6 kB / 1.352 GB, free: 97.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/2.563, allocations: 82.75 kB / 1.352 GB, free: 97.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/2.563, allocations: 0 / 1.352 GB, free: 97.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001108/2.563, allocations: 354.8 kB / 1.353 GB, free: 96.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/2.564, allocations: 79.98 kB / 1.353 GB, free: 96.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/2.564, allocations: 182.5 kB / 1.353 GB, free: 96.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/2.564, allocations: 114.9 kB / 1.353 GB, free: 96.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/2.564, allocations: 0 / 1.353 GB, free: 96.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008473/2.565, allocations: 348.5 kB / 1.353 GB, free: 96.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.224e-05/2.565, allocations: 274.9 kB / 1.354 GB, free: 95.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/2.565, allocations: 0 / 1.354 GB, free: 95.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/2.565, allocations: 40.83 kB / 1.354 GB, free: 95.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/2.566, allocations: 75.89 kB / 1.354 GB, free: 95.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003592/2.566, allocations: 0.5719 MB / 1.354 GB, free: 95.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/2.567, allocations: 63.69 kB / 1.354 GB, free: 95.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/2.567, allocations: 19.98 kB / 1.354 GB, free: 95.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/2.567, allocations: 4 kB / 1.354 GB, free: 95.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004528/2.567, allocations: 222.4 kB / 1.355 GB, free: 94.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/2.567, allocations: 4 kB / 1.355 GB, free: 94.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/2.567, allocations: 0 / 1.355 GB, free: 94.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/2.568, allocations: 87.83 kB / 1.355 GB, free: 94.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/2.568, allocations: 7.938 kB / 1.355 GB, free: 94.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/2.568, allocations: 51.8 kB / 1.355 GB, free: 94.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/2.568, allocations: 23.92 kB / 1.355 GB, free: 94.7 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: checkValve_m_flow.a:VARIABLE(protected = true ) "Scaled pressure variable" type: Real 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 () * 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.0001554/2.568, allocations: 108.9 kB / 1.355 GB, free: 94.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/2.568, allocations: 47.44 kB / 1.355 GB, free: 94.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006573/2.569, allocations: 339.5 kB / 1.355 GB, free: 94.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/2.569, allocations: 4 kB / 1.355 GB, free: 94.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/2.569, allocations: 7.953 kB / 1.355 GB, free: 94.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/2.569, allocations: 3.984 kB / 1.355 GB, free: 94.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/2.57, allocations: 0.7975 MB / 1.356 GB, free: 93.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/2.57, allocations: 0 / 1.356 GB, free: 93.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/2.57, allocations: 52.09 kB / 1.356 GB, free: 93.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/2.571, allocations: 44.78 kB / 1.356 GB, free: 93.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/2.571, allocations: 4 kB / 1.356 GB, free: 93.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002563/2.571, allocations: 0.5639 MB / 1.357 GB, free: 92.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.571, allocations: 4.062 kB / 1.357 GB, free: 92.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/2.571, allocations: 470.2 kB / 1.357 GB, free: 92.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/2.571, allocations: 156.3 kB / 1.357 GB, free: 91.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/2.572, allocations: 7.953 kB / 1.357 GB, free: 91.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/2.572, allocations: 43.95 kB / 1.357 GB, free: 91.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/2.572, allocations: 19.97 kB / 1.357 GB, free: 91.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/2.572, allocations: 11.98 kB / 1.357 GB, free: 91.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000218/2.572, allocations: 274.9 kB / 1.358 GB, free: 91.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.572, allocations: 0 / 1.358 GB, free: 91.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008124/2.573, allocations: 267.5 kB / 1.358 GB, free: 91.34 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 () * 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.0006573/2.574, allocations: 371.5 kB / 1.358 GB, free: 90.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006363/2.574, allocations: 378.2 kB / 1.358 GB, free: 90.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.574, allocations: 3.938 kB / 1.358 GB, free: 90.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/2.575, allocations: 134.5 kB / 1.359 GB, free: 90.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/2.576, allocations: 216.6 kB / 1.359 GB, free: 90.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/2.577, allocations: 0.5635 MB / 1.359 GB, free: 89.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/2.577, allocations: 0.8713 MB / 1.36 GB, free: 88.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000481/2.578, allocations: 136.6 kB / 1.36 GB, free: 88.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/2.578, allocations: 35.42 kB / 1.36 GB, free: 88.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/2.578, allocations: 3.938 kB / 1.36 GB, free: 88.59 MB / 0.698 GB Notification: Performance of Templates: time 0.01578/2.594, allocations: 10.12 MB / 1.37 GB, free: 78.6 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)