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.001363/0.001363, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7608/0.7608, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.0008662/0.0008662, allocations: 103.6 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.049e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4821, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8449/1.327, allocations: 352 MB / 0.9776 GB, free: 324 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/1.327, allocations: 86.64 kB / 0.9777 GB, free: 280 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9203/2.248, allocations: 254.8 MB / 1.227 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/2.248, allocations: 0 / 1.227 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.122e-05/2.248, allocations: 16 kB / 1.227 GB, free: 113.3 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.001377/2.249, allocations: 0.8272 MB / 1.227 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/2.249, allocations: 15.97 kB / 1.227 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/2.249, allocations: 63.25 kB / 1.227 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006919/2.25, allocations: 467.5 kB / 1.228 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/2.25, allocations: 8 kB / 1.228 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/2.25, allocations: 27.94 kB / 1.228 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003326/2.25, allocations: 189.5 kB / 1.228 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/2.251, allocations: 230.2 kB / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/2.251, allocations: 0 / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/2.251, allocations: 0 / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/2.251, allocations: 8 kB / 1.228 GB, free: 111.4 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.001717/2.253, allocations: 1.259 MB / 1.23 GB, free: 110 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/2.253, allocations: 236.5 kB / 1.23 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/2.253, allocations: 97.75 kB / 1.23 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/2.254, allocations: 0.4986 MB / 1.23 GB, free: 109 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/2.254, allocations: 38.56 kB / 1.23 GB, free: 109 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/2.254, allocations: 0 / 1.23 GB, free: 109 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0006747/2.254, allocations: 264.2 kB / 1.231 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/2.254, allocations: 55.41 kB / 1.231 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/2.255, allocations: 353.2 kB / 1.231 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/2.255, allocations: 25.7 kB / 1.231 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/2.255, allocations: 244.6 kB / 1.231 GB, free: 108 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/2.255, allocations: 86.77 kB / 1.231 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/2.255, allocations: 0 / 1.231 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001346/2.255, allocations: 358.7 kB / 1.232 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/2.255, allocations: 83.73 kB / 1.232 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/2.255, allocations: 183.2 kB / 1.232 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/2.256, allocations: 109.8 kB / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.256, allocations: 0 / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006266/2.256, allocations: 332.6 kB / 1.232 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/2.256, allocations: 277.4 kB / 1.233 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/2.256, allocations: 0 / 1.233 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/2.257, allocations: 40.83 kB / 1.233 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/2.257, allocations: 79.89 kB / 1.233 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003281/2.257, allocations: 0.564 MB / 1.233 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/2.258, allocations: 67.69 kB / 1.233 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/2.258, allocations: 19.94 kB / 1.233 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/2.258, allocations: 4 kB / 1.233 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004217/2.258, allocations: 219.7 kB / 1.234 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/2.258, allocations: 4 kB / 1.234 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-06/2.258, allocations: 0 / 1.234 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/2.259, allocations: 91.88 kB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/2.259, allocations: 4 kB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/2.259, allocations: 55.78 kB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/2.259, allocations: 19.98 kB / 1.234 GB, free: 105.4 MB / 0.6823 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.0001409/2.259, allocations: 108.9 kB / 1.234 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004355/2.26, allocations: 257.8 kB / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/2.26, allocations: 55.3 kB / 1.234 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/2.26, allocations: 327.6 kB / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/2.26, allocations: 4 kB / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/2.26, allocations: 0 / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/2.26, allocations: 4.125 kB / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/2.262, allocations: 0.819 MB / 1.235 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/2.262, allocations: 3.984 kB / 1.235 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/2.262, allocations: 59.89 kB / 1.235 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/2.262, allocations: 36.97 kB / 1.235 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/2.262, allocations: 7.984 kB / 1.235 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002525/2.262, allocations: 0.5562 MB / 1.236 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/2.262, allocations: 7.891 kB / 1.236 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/2.263, allocations: 454.1 kB / 1.236 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/2.263, allocations: 156.4 kB / 1.237 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/2.263, allocations: 8 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/2.263, allocations: 43.84 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/2.263, allocations: 23.91 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/2.263, allocations: 12 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002457/2.264, allocations: 271 kB / 1.237 GB, free: 102 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.264, allocations: 0 / 1.237 GB, free: 102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008514/2.265, allocations: 263.5 kB / 1.237 GB, free: 101.7 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.001362/2.266, allocations: 1.536 MB / 1.239 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007272/2.267, allocations: 378.3 kB / 1.239 GB, free: 99.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.267, allocations: 0 / 1.239 GB, free: 99.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/2.267, allocations: 131.8 kB / 1.239 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/2.268, allocations: 226.2 kB / 1.239 GB, free: 99.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/2.269, allocations: 0.6944 MB / 1.24 GB, free: 98.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/2.27, allocations: 0.8674 MB / 1.241 GB, free: 97.81 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00049/2.27, allocations: 128 kB / 1.241 GB, free: 97.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/2.27, allocations: 167.4 kB / 1.241 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/2.27, allocations: 0 / 1.241 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/2.307, allocations: 14.36 MB / 1.255 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.307, allocations: 166.6 kB / 1.255 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/4.788, allocations: 4 kB / 1.255 GB, free: 83.12 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)