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.001673/0.001673, allocations: 176.2 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 1.374/1.374, allocations: 133.6 MB / 141.6 MB, free: 2.922 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.737/2.737, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.002206/0.002207, allocations: 109.1 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.705e-05/5.72e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8038, allocations: 82.31 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/2.233, allocations: 356 MB / 0.9816 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004331/2.233, allocations: 92 kB / 0.9817 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.766/3.999, allocations: 292.9 MB / 1.268 GB, free: 70.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.817e-06/4, allocations: 4 kB / 1.268 GB, free: 70.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001963/4, allocations: 16 kB / 1.268 GB, free: 70.76 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.002943/4.003, allocations: 0.9012 MB / 1.269 GB, free: 69.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/4.003, allocations: 12.03 kB / 1.269 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/4.003, allocations: 79.05 kB / 1.269 GB, free: 69.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/4.004, allocations: 0.5782 MB / 1.269 GB, free: 69.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/4.004, allocations: 11.94 kB / 1.269 GB, free: 69.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/4.005, allocations: 28 kB / 1.269 GB, free: 69.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004569/4.005, allocations: 197.5 kB / 1.269 GB, free: 68.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/4.005, allocations: 238.2 kB / 1.27 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/4.005, allocations: 0 / 1.27 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/4.005, allocations: 4 kB / 1.27 GB, free: 68.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/4.006, allocations: 8.781 kB / 1.27 GB, free: 68.62 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.003271/4.009, allocations: 1.49 MB / 1.271 GB, free: 67.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/4.009, allocations: 210.5 kB / 1.271 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/4.01, allocations: 76.84 kB / 1.271 GB, free: 66.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004568/4.01, allocations: 421.5 kB / 1.272 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/4.01, allocations: 38.55 kB / 1.272 GB, free: 66.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 3.256e-06/4.01, allocations: 3.938 kB / 1.272 GB, free: 66.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.001207/4.011, allocations: 277.1 kB / 1.272 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/4.011, allocations: 55.41 kB / 1.272 GB, free: 65.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/4.012, allocations: 0.4956 MB / 1.273 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/4.012, allocations: 29.7 kB / 1.273 GB, free: 65.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/4.013, allocations: 296.3 kB / 1.273 GB, free: 64.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/4.013, allocations: 74.94 kB / 1.273 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/4.013, allocations: 0 / 1.273 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001671/4.013, allocations: 362.8 kB / 1.273 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/4.013, allocations: 112.8 kB / 1.274 GB, free: 64.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/4.014, allocations: 200.9 kB / 1.274 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008272/4.014, allocations: 183.8 kB / 1.274 GB, free: 64.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/4.014, allocations: 0 / 1.274 GB, free: 64.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001363/4.016, allocations: 445.2 kB / 1.274 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/4.016, allocations: 449 kB / 1.275 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/4.016, allocations: 4 kB / 1.275 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/4.016, allocations: 0 / 1.275 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/4.017, allocations: 143.8 kB / 1.275 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000826/4.018, allocations: 1.199 MB / 1.276 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/4.019, allocations: 59.66 kB / 1.276 GB, free: 61.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/4.019, allocations: 23.97 kB / 1.276 GB, free: 61.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/4.019, allocations: 4 kB / 1.276 GB, free: 61.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001289/4.021, allocations: 340.2 kB / 1.276 GB, free: 61.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/4.021, allocations: 0 / 1.276 GB, free: 61.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/4.021, allocations: 7.984 kB / 1.276 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/4.022, allocations: 115.9 kB / 1.277 GB, free: 61.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/4.022, allocations: 7.938 kB / 1.277 GB, free: 61.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/4.022, allocations: 43.86 kB / 1.277 GB, free: 61.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/4.023, allocations: 23.98 kB / 1.277 GB, free: 61.12 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 0.0001679/4.023, allocations: 108.9 kB / 1.277 GB, free: 61 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000917/4.024, allocations: 270.5 kB / 1.277 GB, free: 60.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/4.024, allocations: 59.2 kB / 1.277 GB, free: 60.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/4.025, allocations: 325.3 kB / 1.277 GB, free: 60.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/4.025, allocations: 7.984 kB / 1.277 GB, free: 60.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/4.025, allocations: 4 kB / 1.277 GB, free: 60.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/4.025, allocations: 0 / 1.277 GB, free: 60.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/4.027, allocations: 0.8686 MB / 1.278 GB, free: 59.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/4.027, allocations: 4.031 kB / 1.278 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/4.028, allocations: 59.89 kB / 1.278 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/4.028, allocations: 8.125 kB / 1.278 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/4.028, allocations: 11.95 kB / 1.278 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000575/4.028, allocations: 1.176 MB / 1.279 GB, free: 58.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/4.028, allocations: 0 / 1.279 GB, free: 58.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/4.029, allocations: 0.563 MB / 1.28 GB, free: 57.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/4.03, allocations: 168.3 kB / 1.28 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/4.03, allocations: 7.984 kB / 1.28 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/4.031, allocations: 35.97 kB / 1.28 GB, free: 57.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/4.031, allocations: 11.98 kB / 1.28 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/4.031, allocations: 11.98 kB / 1.28 GB, free: 57.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007126/4.031, allocations: 375.2 kB / 1.281 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/4.031, allocations: 0 / 1.281 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001883/4.033, allocations: 307.6 kB / 1.281 GB, free: 56.58 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.002633/4.036, allocations: 1.655 MB / 1.282 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002084/4.038, allocations: 478.7 kB / 1.283 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/4.038, allocations: 4 kB / 1.283 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004597/4.039, allocations: 116.1 kB / 1.283 GB, free: 54.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/4.041, allocations: 240.3 kB / 1.283 GB, free: 54.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/4.045, allocations: 0.8567 MB / 1.284 GB, free: 53.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/4.045, allocations: 0.9029 MB / 1.285 GB, free: 52.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001171/4.047, allocations: 140.6 kB / 1.285 GB, free: 52.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/4.047, allocations: 203.4 kB / 1.285 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of SimCode: time 2.144e-06/4.047, allocations: 0 / 1.285 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06951/4.116, allocations: 15.91 MB / 1.301 GB, free: 36.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/4.117, allocations: 161.4 kB / 1.301 GB, free: 35.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.216/8.333, allocations: 4 kB / 1.301 GB, free: 35.93 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)