Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_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.001978/0.001977, allocations: 172.5 kB / 7.647 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 1.354/1.354, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.392/2.392, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001382/0.001382, allocations: 97.36 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.494e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7511, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.963, allocations: 352 MB / 0.9776 GB, free: 324 kB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.963, allocations: 87.45 kB / 0.9777 GB, free: 280 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/3.322, allocations: 254.8 MB / 1.227 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/3.322, allocations: 0 / 1.227 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.71e-05/3.322, allocations: 19.98 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.002351/3.324, allocations: 0.8217 MB / 1.227 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/3.324, allocations: 12.03 kB / 1.227 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/3.324, allocations: 67.19 kB / 1.227 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/3.326, allocations: 471.5 kB / 1.228 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/3.326, allocations: 8 kB / 1.228 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/3.326, allocations: 31.94 kB / 1.228 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006171/3.326, allocations: 189.5 kB / 1.228 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/3.327, allocations: 226.2 kB / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/3.327, allocations: 0 / 1.228 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/3.327, allocations: 3.938 kB / 1.228 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/3.327, allocations: 8 kB / 1.228 GB, free: 111.3 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.003146/3.33, allocations: 1.255 MB / 1.23 GB, free: 110 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/3.331, allocations: 230.5 kB / 1.23 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/3.331, allocations: 104.9 kB / 1.23 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/3.332, allocations: 0.4986 MB / 1.23 GB, free: 109 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/3.332, allocations: 38.56 kB / 1.23 GB, free: 109 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.517e-06/3.332, allocations: 0 / 1.23 GB, free: 109 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001198/3.333, allocations: 264.2 kB / 1.231 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/3.333, allocations: 55.41 kB / 1.231 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/3.334, allocations: 353.2 kB / 1.231 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/3.334, allocations: 25.7 kB / 1.231 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/3.334, allocations: 244.6 kB / 1.231 GB, free: 108 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.594e-05/3.334, allocations: 82.75 kB / 1.231 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/3.334, allocations: 0 / 1.231 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001191/3.334, allocations: 354.8 kB / 1.232 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/3.335, allocations: 87.72 kB / 1.232 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/3.335, allocations: 178.6 kB / 1.232 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/3.336, allocations: 113.9 kB / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/3.336, allocations: 0 / 1.232 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00131/3.337, allocations: 338.8 kB / 1.232 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/3.337, allocations: 271 kB / 1.233 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/3.337, allocations: 4 kB / 1.233 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/3.337, allocations: 32.84 kB / 1.233 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/3.338, allocations: 79.88 kB / 1.233 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005368/3.339, allocations: 0.5758 MB / 1.233 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/3.34, allocations: 63.69 kB / 1.233 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/3.34, allocations: 19.98 kB / 1.233 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/3.34, allocations: 7.938 kB / 1.233 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009054/3.341, allocations: 219.7 kB / 1.234 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/3.341, allocations: 0 / 1.234 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/3.341, allocations: 4 kB / 1.234 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/3.342, allocations: 83.88 kB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/3.342, allocations: 0 / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/3.343, allocations: 59.8 kB / 1.234 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.948e-05/3.343, allocations: 12.12 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.0002307/3.343, allocations: 119.1 kB / 1.234 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009586/3.344, allocations: 266.4 kB / 1.234 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/3.344, allocations: 51.3 kB / 1.234 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/3.345, allocations: 331.7 kB / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/3.345, allocations: 4 kB / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/3.345, allocations: 0 / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/3.345, allocations: 0 / 1.235 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/3.347, allocations: 0.8191 MB / 1.235 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/3.347, allocations: 3.938 kB / 1.235 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/3.348, allocations: 51.91 kB / 1.235 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/3.348, allocations: 40.83 kB / 1.235 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/3.348, allocations: 4 kB / 1.235 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003983/3.349, allocations: 0.5603 MB / 1.236 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/3.349, allocations: 7.891 kB / 1.236 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/3.35, allocations: 458.1 kB / 1.236 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/3.35, allocations: 152.4 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/3.35, allocations: 0 / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/3.351, allocations: 43.86 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/3.351, allocations: 27.91 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/3.351, allocations: 12 kB / 1.237 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004597/3.352, allocations: 278.9 kB / 1.237 GB, free: 102 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/3.352, allocations: 0 / 1.237 GB, free: 102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001633/3.353, allocations: 271.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.002223/3.355, allocations: 1.527 MB / 1.239 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001368/3.357, allocations: 372.9 kB / 1.239 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/3.357, allocations: 3.938 kB / 1.239 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/3.357, allocations: 135.8 kB / 1.239 GB, free: 99.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/3.36, allocations: 215.8 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.002664/3.362, allocations: 0.7021 MB / 1.24 GB, free: 98.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/3.363, allocations: 0.8674 MB / 1.241 GB, free: 97.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001123/3.364, allocations: 140.2 kB / 1.241 GB, free: 97.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/3.364, allocations: 163.4 kB / 1.241 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/3.364, allocations: 4 kB / 1.241 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/3.426, allocations: 14.34 MB / 1.255 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/3.426, allocations: 175.4 kB / 1.255 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.061/7.486, allocations: 0 / 1.255 GB, free: 83.11 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)