Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.Actuators.Valves.Examples.TwoWayValveTRV,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV",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.001132/0.001131, 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.7309/0.7309, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.468/1.468, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.000876/0.0008757, allocations: 92.72 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.503e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.467, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7611/1.228, allocations: 356 MB / 0.9816 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/1.228, allocations: 95.62 kB / 0.9817 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9581/2.187, allocations: 292.9 MB / 1.268 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.312e-06/2.187, allocations: 0 / 1.268 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.307e-05/2.187, allocations: 16 kB / 1.268 GB, free: 70.92 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001477/2.188, allocations: 0.8994 MB / 1.269 GB, free: 69.97 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/2.188, allocations: 12.03 kB / 1.269 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/2.188, allocations: 79.06 kB / 1.269 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/2.189, allocations: 0.5782 MB / 1.269 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/2.189, allocations: 12 kB / 1.269 GB, free: 69.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/2.189, allocations: 27.98 kB / 1.269 GB, free: 69.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003345/2.19, allocations: 193.5 kB / 1.269 GB, free: 69.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/2.19, allocations: 246.1 kB / 1.27 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/2.19, allocations: 0 / 1.27 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/2.19, allocations: 0 / 1.27 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/2.19, allocations: 16.78 kB / 1.27 GB, free: 68.77 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.002025/2.192, allocations: 1.475 MB / 1.271 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/2.193, allocations: 218.4 kB / 1.271 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/2.193, allocations: 76.84 kB / 1.271 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/2.193, allocations: 421.5 kB / 1.272 GB, free: 66.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/2.193, allocations: 30.56 kB / 1.272 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/2.193, allocations: 0 / 1.272 GB, free: 66.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0006603/2.194, allocations: 289.1 kB / 1.272 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/2.194, allocations: 55.41 kB / 1.272 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/2.194, allocations: 499.5 kB / 1.273 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/2.194, allocations: 25.7 kB / 1.273 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/2.194, allocations: 304.2 kB / 1.273 GB, free: 65.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/2.194, allocations: 74.88 kB / 1.273 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/2.194, allocations: 0 / 1.273 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/2.195, allocations: 362.8 kB / 1.273 GB, free: 64.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/2.195, allocations: 116.8 kB / 1.274 GB, free: 64.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/2.195, allocations: 200.9 kB / 1.274 GB, free: 64.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/2.195, allocations: 179.9 kB / 1.274 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/2.195, allocations: 0 / 1.274 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007546/2.196, allocations: 453.2 kB / 1.274 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.798e-05/2.196, allocations: 453 kB / 1.275 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/2.196, allocations: 0 / 1.275 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/2.196, allocations: 4 kB / 1.275 GB, free: 63.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/2.197, allocations: 135.8 kB / 1.275 GB, free: 63.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004635/2.198, allocations: 1.203 MB / 1.276 GB, free: 61.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/2.198, allocations: 55.69 kB / 1.276 GB, free: 61.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/2.198, allocations: 20 kB / 1.276 GB, free: 61.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/2.198, allocations: 4 kB / 1.276 GB, free: 61.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006792/2.199, allocations: 336 kB / 1.276 GB, free: 61.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/2.199, allocations: 4 kB / 1.276 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/2.199, allocations: 4 kB / 1.276 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/2.199, allocations: 119.9 kB / 1.277 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/2.199, allocations: 4 kB / 1.277 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/2.2, allocations: 43.8 kB / 1.277 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/2.2, allocations: 20 kB / 1.277 GB, free: 61.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/2.2, allocations: 116.8 kB / 1.277 GB, free: 61.16 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005249/2.201, allocations: 266.7 kB / 1.277 GB, free: 60.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/2.201, allocations: 63.2 kB / 1.277 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/2.201, allocations: 325.3 kB / 1.277 GB, free: 60.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/2.201, allocations: 3.938 kB / 1.277 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/2.201, allocations: 4 kB / 1.277 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/2.201, allocations: 3.984 kB / 1.277 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/2.203, allocations: 0.8626 MB / 1.278 GB, free: 59.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/2.203, allocations: 11.97 kB / 1.278 GB, free: 59.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/2.203, allocations: 63.88 kB / 1.278 GB, free: 59.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/2.203, allocations: 96 / 1.278 GB, free: 59.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/2.203, allocations: 19.89 kB / 1.278 GB, free: 59.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003206/2.203, allocations: 1.184 MB / 1.279 GB, free: 58.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.203, allocations: 0 / 1.279 GB, free: 58.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/2.204, allocations: 0.5549 MB / 1.28 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/2.204, allocations: 172.3 kB / 1.28 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/2.204, allocations: 4 kB / 1.28 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/2.205, allocations: 35.95 kB / 1.28 GB, free: 57.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/2.205, allocations: 12.17 kB / 1.28 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/2.205, allocations: 12 kB / 1.28 GB, free: 57.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003462/2.205, allocations: 375.2 kB / 1.281 GB, free: 57.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.205, allocations: 0 / 1.281 GB, free: 57.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008782/2.206, allocations: 315.6 kB / 1.281 GB, free: 56.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/2.207, allocations: 1.656 MB / 1.283 GB, free: 55.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009429/2.208, allocations: 474.8 kB / 1.283 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.208, allocations: 0 / 1.283 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/2.209, allocations: 111.9 kB / 1.283 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/2.21, allocations: 236.5 kB / 1.283 GB, free: 54.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/2.211, allocations: 0.8548 MB / 1.284 GB, free: 53.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/2.212, allocations: 0.9029 MB / 1.285 GB, free: 52.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005447/2.212, allocations: 152.5 kB / 1.285 GB, free: 52.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/2.212, allocations: 203.4 kB / 1.285 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/2.212, allocations: 0 / 1.285 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/2.247, allocations: 15.91 MB / 1.301 GB, free: 36.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/2.247, allocations: 160.5 kB / 1.301 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/4.642, allocations: 0 / 1.301 GB, free: 36.09 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)