Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,fileNamePrefix="IDEAS_dev_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.01072/0.01072, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9358/0.9358, allocations: 135.2 MB / 151 MB, free: 13.79 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.612/1.612, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.00169/0.001689, allocations: 107.8 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5558, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8671/1.423, allocations: 356.7 MB / 0.9979 GB, free: 412 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.423, allocations: 98.44 kB / 0.998 GB, free: 356 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.035/2.458, allocations: 295.3 MB / 1.286 GB, free: 35.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/2.458, allocations: 0 / 1.286 GB, free: 35.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.135e-05/2.458, allocations: 19.98 kB / 1.286 GB, free: 35.59 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.002438/2.461, allocations: 1.047 MB / 1.287 GB, free: 34.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/2.461, allocations: 12.03 kB / 1.287 GB, free: 34.47 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/2.461, allocations: 70.53 kB / 1.288 GB, free: 34.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/2.461, allocations: 79.02 kB / 1.288 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/2.462, allocations: 0.5859 MB / 1.288 GB, free: 33.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/2.462, allocations: 32.59 kB / 1.288 GB, free: 33.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/2.463, allocations: 43.94 kB / 1.288 GB, free: 33.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/2.463, allocations: 310 kB / 1.289 GB, free: 33.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/2.463, allocations: 0 / 1.289 GB, free: 33.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/2.463, allocations: 12 kB / 1.289 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/2.463, allocations: 12.64 kB / 1.289 GB, free: 33.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/2.464, allocations: 258.5 kB / 1.289 GB, free: 33.02 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002541/2.466, allocations: 1.565 MB / 1.29 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/2.467, allocations: 222.5 kB / 1.291 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/2.467, allocations: 417.5 kB / 1.291 GB, free: 30.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/2.467, allocations: 38.5 kB / 1.291 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/2.467, allocations: 0 / 1.291 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0007999/2.468, allocations: 359.3 kB / 1.291 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/2.468, allocations: 51.41 kB / 1.291 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/2.469, allocations: 0.5698 MB / 1.292 GB, free: 29.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/2.469, allocations: 37.7 kB / 1.292 GB, free: 29.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/2.469, allocations: 304.6 kB / 1.292 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/2.469, allocations: 63.02 kB / 1.292 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/2.469, allocations: 8 kB / 1.292 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001047/2.469, allocations: 374.7 kB / 1.293 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/2.469, allocations: 132.8 kB / 1.293 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/2.47, allocations: 237.7 kB / 1.293 GB, free: 28.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/2.47, allocations: 164.6 kB / 1.293 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/2.47, allocations: 0 / 1.293 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009159/2.471, allocations: 456.7 kB / 1.294 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/2.471, allocations: 453.3 kB / 1.294 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/2.471, allocations: 0 / 1.294 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/2.471, allocations: 4 kB / 1.294 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/2.472, allocations: 135.8 kB / 1.294 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006275/2.473, allocations: 1.191 MB / 1.295 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/2.473, allocations: 75.7 kB / 1.295 GB, free: 25.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/2.473, allocations: 19.98 kB / 1.295 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/2.473, allocations: 4.625 kB / 1.295 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006664/2.474, allocations: 371.8 kB / 1.296 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/2.474, allocations: 12 kB / 1.296 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/2.474, allocations: 4 kB / 1.296 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/2.475, allocations: 119.8 kB / 1.296 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/2.475, allocations: 4.094 kB / 1.296 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/2.475, allocations: 71.58 kB / 1.296 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/2.475, allocations: 16 kB / 1.296 GB, free: 25.24 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 () * Number of clocked 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 0.0003527/2.476, allocations: 265 kB / 1.296 GB, free: 24.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/2.476, allocations: 63.16 kB / 1.296 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007103/2.476, allocations: 345 kB / 1.297 GB, free: 24.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/2.476, allocations: 0 / 1.297 GB, free: 24.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/2.477, allocations: 0 / 1.297 GB, free: 24.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/2.477, allocations: 8 kB / 1.297 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/2.478, allocations: 0.9268 MB / 1.298 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/2.478, allocations: 4 kB / 1.298 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/2.478, allocations: 67.89 kB / 1.298 GB, free: 23.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/2.478, allocations: 0 / 1.298 GB, free: 23.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/2.478, allocations: 8 kB / 1.298 GB, free: 23.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004467/2.479, allocations: 1.188 MB / 1.299 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/2.479, allocations: 3.984 kB / 1.299 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/2.479, allocations: 0.5896 MB / 1.299 GB, free: 21.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/2.48, allocations: 172.2 kB / 1.3 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/2.48, allocations: 11.98 kB / 1.3 GB, free: 21.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/2.48, allocations: 35.94 kB / 1.3 GB, free: 21.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/2.48, allocations: 15.94 kB / 1.3 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/2.48, allocations: 15.98 kB / 1.3 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005189/2.481, allocations: 443 kB / 1.3 GB, free: 20.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/2.481, allocations: 0 / 1.3 GB, free: 20.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001076/2.482, allocations: 323.7 kB / 1.3 GB, free: 20.59 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 () * Number of clocked 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.001864/2.484, allocations: 1.691 MB / 1.302 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001231/2.485, allocations: 0.5176 MB / 1.303 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/2.485, allocations: 0 / 1.303 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/2.485, allocations: 140.7 kB / 1.303 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/2.487, allocations: 295 kB / 1.303 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/2.489, allocations: 2.208 MB / 1.305 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/2.49, allocations: 0.9023 MB / 1.306 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005282/2.49, allocations: 132.9 kB / 1.306 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/2.491, allocations: 219.4 kB / 1.306 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of SimCode: time 2.044e-06/2.491, allocations: 0 / 1.306 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4077/2.898, allocations: 18.27 MB / 1.324 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/2.899, allocations: 246.4 kB / 1.324 GB, free: 169 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/5.33, allocations: 9.391 kB / 1.324 GB, free: 169 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTRV.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)