Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7404/0.7404, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 400.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.0008991, allocations: 87.41 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.159e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1718, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.369/1.541, allocations: 352.6 MB / 0.9849 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.541, allocations: 84.27 kB / 0.9849 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.018/2.56, allocations: 256.7 MB / 1.236 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.423e-06/2.56, allocations: 0 / 1.236 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.055e-05/2.56, allocations: 17.31 kB / 1.236 GB, free: 173.6 MB / 0.6823 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.002191/2.562, allocations: 0.8378 MB / 1.236 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/2.562, allocations: 9.5 kB / 1.236 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/2.562, allocations: 61.11 kB / 1.236 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/2.563, allocations: 64.84 kB / 1.237 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/2.564, allocations: 470.7 kB / 1.237 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/2.564, allocations: 26.03 kB / 1.237 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/2.564, allocations: 38.66 kB / 1.237 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/2.565, allocations: 269.2 kB / 1.237 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/2.565, allocations: 0 / 1.237 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/2.565, allocations: 13.22 kB / 1.237 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/2.565, allocations: 7.734 kB / 1.237 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/2.565, allocations: 203.3 kB / 1.238 GB, free: 172.9 MB / 0.6823 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.00245/2.568, allocations: 1.326 MB / 1.239 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/2.568, allocations: 250.7 kB / 1.239 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/2.568, allocations: 103.9 kB / 1.239 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/2.569, allocations: 0.4979 MB / 1.24 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/2.569, allocations: 32.91 kB / 1.24 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.395e-06/2.569, allocations: 6.484 kB / 1.24 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0006932/2.57, allocations: 269.6 kB / 1.24 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/2.57, allocations: 57.42 kB / 1.24 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/2.57, allocations: 405.4 kB / 1.24 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/2.57, allocations: 30.55 kB / 1.24 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/2.57, allocations: 247.5 kB / 1.241 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/2.57, allocations: 83.09 kB / 1.241 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/2.571, allocations: 8.125 kB / 1.241 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001165/2.571, allocations: 355.6 kB / 1.241 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/2.571, allocations: 80.06 kB / 1.241 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/2.571, allocations: 179.9 kB / 1.241 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/2.571, allocations: 108.6 kB / 1.241 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/2.571, allocations: 0 / 1.241 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007648/2.572, allocations: 343.3 kB / 1.242 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/2.572, allocations: 275.1 kB / 1.242 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.572, allocations: 0 / 1.242 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/2.573, allocations: 42.25 kB / 1.242 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/2.573, allocations: 77.64 kB / 1.242 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003904/2.573, allocations: 0.5562 MB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/2.574, allocations: 79.47 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/2.574, allocations: 22.06 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/2.574, allocations: 3.656 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004965/2.575, allocations: 241.5 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/2.575, allocations: 3.344 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/2.575, allocations: 3 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/2.575, allocations: 90.38 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/2.575, allocations: 2.125 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/2.576, allocations: 67.38 kB / 1.243 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/2.576, allocations: 21.12 kB / 1.243 GB, free: 169.9 MB / 0.6823 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 0.0001364/2.576, allocations: 121.9 kB / 1.243 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/2.576, allocations: 53.08 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007967/2.577, allocations: 362.1 kB / 1.244 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/2.577, allocations: 4.578 kB / 1.244 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.577, allocations: 1.062 kB / 1.244 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/2.577, allocations: 1.312 kB / 1.244 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/2.578, allocations: 0.8837 MB / 1.245 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/2.578, allocations: 1.344 kB / 1.245 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/2.579, allocations: 52.53 kB / 1.245 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/2.579, allocations: 43.62 kB / 1.245 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/2.579, allocations: 9.375 kB / 1.245 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003237/2.579, allocations: 0.5595 MB / 1.245 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/2.579, allocations: 10.23 kB / 1.245 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/2.58, allocations: 478.3 kB / 1.246 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/2.58, allocations: 157.8 kB / 1.246 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/2.58, allocations: 10.75 kB / 1.246 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/2.581, allocations: 49.33 kB / 1.246 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/2.581, allocations: 23.23 kB / 1.246 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/2.581, allocations: 13.06 kB / 1.246 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00049/2.582, allocations: 320.1 kB / 1.246 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/2.582, allocations: 3.844 kB / 1.246 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001427/2.583, allocations: 275.3 kB / 1.247 GB, free: 168.3 MB / 0.6823 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.001937/2.585, allocations: 1.545 MB / 1.248 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00096/2.586, allocations: 386.7 kB / 1.248 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.586, allocations: 1.25 kB / 1.248 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/2.586, allocations: 142.2 kB / 1.249 GB, free: 167.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/2.588, allocations: 250.2 kB / 1.249 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/2.59, allocations: 0.7224 MB / 1.249 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/2.59, allocations: 0.8692 MB / 1.25 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000746/2.591, allocations: 132.8 kB / 1.25 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/2.591, allocations: 169.7 kB / 1.251 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/2.591, allocations: 1.344 kB / 1.251 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/2.639, allocations: 17.34 MB / 1.268 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/2.639, allocations: 219.2 kB / 1.268 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/5.203, allocations: 0 / 1.268 GB, free: 165.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)