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.7981/0.7981, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 180.6 kB / 187.2 MB, free: 11.88 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.571/1.571, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.001037/0.001037, allocations: 93.14 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 288 kB / 0.594 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.351e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5804, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8561/1.437, allocations: 350 MB / 1.106 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.437, allocations: 83.45 kB / 1.106 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9454/2.382, allocations: 256.7 MB / 1.357 GB, free: 106.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/2.382, allocations: 0 / 1.357 GB, free: 106.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.614e-05/2.382, allocations: 16 kB / 1.357 GB, free: 106.1 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.001467/2.384, allocations: 0.8294 MB / 1.358 GB, free: 105.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/2.384, allocations: 8.031 kB / 1.358 GB, free: 105.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/2.384, allocations: 67.25 kB / 1.358 GB, free: 105.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/2.385, allocations: 471.6 kB / 1.358 GB, free: 104.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/2.385, allocations: 28.78 kB / 1.358 GB, free: 104.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/2.385, allocations: 39.98 kB / 1.358 GB, free: 104.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/2.385, allocations: 267.7 kB / 1.358 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/2.385, allocations: 0 / 1.358 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/2.385, allocations: 12 kB / 1.358 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/2.385, allocations: 12 kB / 1.358 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/2.386, allocations: 199 kB / 1.359 GB, free: 104.1 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.001805/2.387, allocations: 1.338 MB / 1.36 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/2.388, allocations: 234.5 kB / 1.36 GB, free: 102.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/2.388, allocations: 96.84 kB / 1.36 GB, free: 102.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/2.388, allocations: 0.4947 MB / 1.361 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/2.388, allocations: 46.59 kB / 1.361 GB, free: 101.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/2.388, allocations: 0 / 1.361 GB, free: 101.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0005156/2.389, allocations: 262.4 kB / 1.361 GB, free: 101.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/2.389, allocations: 55.41 kB / 1.361 GB, free: 101.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/2.389, allocations: 403.9 kB / 1.361 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/2.389, allocations: 37.7 kB / 1.362 GB, free: 100.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/2.39, allocations: 244.8 kB / 1.362 GB, free: 100.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/2.39, allocations: 82.77 kB / 1.362 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/2.39, allocations: 11.94 kB / 1.362 GB, free: 100.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/2.39, allocations: 358.7 kB / 1.362 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/2.39, allocations: 83.98 kB / 1.362 GB, free: 100.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/2.39, allocations: 186.8 kB / 1.362 GB, free: 99.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/2.39, allocations: 98.58 kB / 1.363 GB, free: 99.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.39, allocations: 0 / 1.363 GB, free: 99.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005342/2.391, allocations: 352.4 kB / 1.363 GB, free: 99.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/2.391, allocations: 276.5 kB / 1.363 GB, free: 99.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/2.391, allocations: 0 / 1.363 GB, free: 99.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/2.391, allocations: 44.83 kB / 1.363 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/2.391, allocations: 79.89 kB / 1.363 GB, free: 98.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/2.392, allocations: 0.5601 MB / 1.364 GB, free: 98.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/2.392, allocations: 75.62 kB / 1.364 GB, free: 98.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/2.392, allocations: 19.98 kB / 1.364 GB, free: 98.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/2.392, allocations: 4 kB / 1.364 GB, free: 98.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003711/2.393, allocations: 233.1 kB / 1.364 GB, free: 98.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/2.393, allocations: 3.953 kB / 1.364 GB, free: 98.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-06/2.393, allocations: 4 kB / 1.364 GB, free: 98.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/2.393, allocations: 87.89 kB / 1.364 GB, free: 97.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/2.393, allocations: 7.922 kB / 1.364 GB, free: 97.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/2.394, allocations: 67.64 kB / 1.364 GB, free: 97.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/2.394, allocations: 19.98 kB / 1.364 GB, free: 97.89 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 () * 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 9.418e-05/2.394, allocations: 124.9 kB / 1.364 GB, free: 97.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/2.394, allocations: 43.44 kB / 1.364 GB, free: 97.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/2.394, allocations: 359.7 kB / 1.365 GB, free: 97.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/2.394, allocations: 4 kB / 1.365 GB, free: 97.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/2.394, allocations: 0 / 1.365 GB, free: 97.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/2.394, allocations: 3.984 kB / 1.365 GB, free: 97.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/2.395, allocations: 0.8943 MB / 1.366 GB, free: 96.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/2.395, allocations: 0 / 1.366 GB, free: 96.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/2.396, allocations: 47.97 kB / 1.366 GB, free: 96.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/2.396, allocations: 51.05 kB / 1.366 GB, free: 96.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/2.396, allocations: 15.92 kB / 1.366 GB, free: 96.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002236/2.396, allocations: 0.5563 MB / 1.366 GB, free: 95.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/2.396, allocations: 0 / 1.366 GB, free: 95.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/2.397, allocations: 493.1 kB / 1.367 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/2.397, allocations: 156.3 kB / 1.367 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/2.397, allocations: 8 kB / 1.367 GB, free: 94.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/2.397, allocations: 47.89 kB / 1.367 GB, free: 94.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/2.397, allocations: 23.97 kB / 1.367 GB, free: 94.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/2.397, allocations: 12 kB / 1.367 GB, free: 94.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002753/2.398, allocations: 317.6 kB / 1.367 GB, free: 94.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.398, allocations: 0 / 1.367 GB, free: 94.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009592/2.399, allocations: 275.6 kB / 1.368 GB, free: 94.31 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.0007668/2.399, allocations: 358.3 kB / 1.368 GB, free: 93.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007993/2.4, allocations: 396.1 kB / 1.368 GB, free: 93.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.4, allocations: 0 / 1.368 GB, free: 93.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/2.4, allocations: 140.4 kB / 1.368 GB, free: 93.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/2.402, allocations: 264 kB / 1.369 GB, free: 93.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/2.403, allocations: 0.5814 MB / 1.369 GB, free: 92.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/2.403, allocations: 0.8639 MB / 1.37 GB, free: 91.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005033/2.403, allocations: 136.2 kB / 1.37 GB, free: 91.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/2.403, allocations: 35.42 kB / 1.37 GB, free: 91.5 MB / 0.698 GB Notification: Performance of SimCode: time 4.6e-07/2.403, allocations: 0 / 1.37 GB, free: 91.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01884/2.422, allocations: 12.24 MB / 1.382 GB, free: 79.39 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)