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.001695/0.001695, allocations: 168.6 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.722/0.722, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.442/1.442, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009045/0.0009048, allocations: 98.06 kB / 483.3 MB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.179e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1552, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.29, allocations: 356.6 MB / 0.9888 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.29, allocations: 93.97 kB / 0.9889 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9571/2.247, allocations: 294.5 MB / 1.277 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/2.247, allocations: 0 / 1.277 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001103/2.247, allocations: 19.89 kB / 1.277 GB, free: 169.2 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.002207/2.25, allocations: 0.9037 MB / 1.277 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/2.25, allocations: 9.938 kB / 1.277 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/2.25, allocations: 72.45 kB / 1.277 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/2.25, allocations: 82.33 kB / 1.278 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/2.252, allocations: 0.5686 MB / 1.278 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/2.252, allocations: 34.25 kB / 1.278 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/2.252, allocations: 38.47 kB / 1.278 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/2.252, allocations: 293.3 kB / 1.278 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/2.252, allocations: 0 / 1.278 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/2.252, allocations: 7.438 kB / 1.278 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/2.252, allocations: 18.91 kB / 1.278 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/2.253, allocations: 211.1 kB / 1.279 GB, free: 168.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.002605/2.255, allocations: 1.574 MB / 1.28 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/2.256, allocations: 203.1 kB / 1.28 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/2.256, allocations: 87.31 kB / 1.281 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/2.256, allocations: 429.6 kB / 1.281 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/2.256, allocations: 34.5 kB / 1.281 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/2.256, allocations: 0 / 1.281 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0005277/2.257, allocations: 244.3 kB / 1.281 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/2.257, allocations: 55.31 kB / 1.281 GB, free: 167 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/2.257, allocations: 0.561 MB / 1.282 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/2.257, allocations: 33.17 kB / 1.282 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/2.258, allocations: 303.9 kB / 1.282 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/2.258, allocations: 75.12 kB / 1.282 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/2.258, allocations: 6.562 kB / 1.282 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/2.258, allocations: 370.6 kB / 1.283 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/2.258, allocations: 112.7 kB / 1.283 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/2.258, allocations: 212.7 kB / 1.283 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/2.259, allocations: 155 kB / 1.283 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/2.259, allocations: 0 / 1.283 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005992/2.259, allocations: 420.4 kB / 1.283 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.844e-05/2.259, allocations: 454.2 kB / 1.284 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/2.259, allocations: 0 / 1.284 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/2.259, allocations: 3.875 kB / 1.284 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/2.26, allocations: 131.6 kB / 1.284 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005103/2.261, allocations: 1.195 MB / 1.285 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/2.261, allocations: 66.5 kB / 1.285 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/2.261, allocations: 21.62 kB / 1.285 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/2.261, allocations: 3.969 kB / 1.285 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004967/2.262, allocations: 334.2 kB / 1.286 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/2.262, allocations: 0 / 1.286 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/2.262, allocations: 3.844 kB / 1.286 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/2.262, allocations: 116.1 kB / 1.286 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/2.262, allocations: 7.031 kB / 1.286 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/2.263, allocations: 59.84 kB / 1.286 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/2.263, allocations: 21.23 kB / 1.286 GB, free: 164.6 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.0001117/2.263, allocations: 133.1 kB / 1.286 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/2.263, allocations: 59.56 kB / 1.286 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/2.264, allocations: 307.4 kB / 1.286 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.264, allocations: 0 / 1.286 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/2.264, allocations: 0 / 1.286 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/2.264, allocations: 3.938 kB / 1.286 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/2.265, allocations: 0.896 MB / 1.287 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.265, allocations: 3.562 kB / 1.287 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/2.265, allocations: 65.39 kB / 1.287 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/2.265, allocations: 3.906 kB / 1.287 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/2.265, allocations: 10.92 kB / 1.287 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003478/2.265, allocations: 1.188 MB / 1.288 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/2.265, allocations: 2.156 kB / 1.288 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/2.266, allocations: 0.5343 MB / 1.289 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/2.266, allocations: 183.4 kB / 1.289 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/2.266, allocations: 11.45 kB / 1.289 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/2.267, allocations: 26.03 kB / 1.289 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/2.267, allocations: 26.16 kB / 1.289 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/2.267, allocations: 7.812 kB / 1.289 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004435/2.267, allocations: 443.7 kB / 1.29 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/2.267, allocations: 0 / 1.29 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009392/2.268, allocations: 329.2 kB / 1.29 GB, free: 162.3 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.001417/2.27, allocations: 1.614 MB / 1.291 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001123/2.271, allocations: 492.5 kB / 1.292 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.271, allocations: 3.969 kB / 1.292 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/2.271, allocations: 122.3 kB / 1.292 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/2.272, allocations: 293.9 kB / 1.292 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/2.274, allocations: 0.8871 MB / 1.293 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/2.274, allocations: 0.9047 MB / 1.294 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005902/2.275, allocations: 162.2 kB / 1.294 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/2.275, allocations: 213.6 kB / 1.294 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/2.275, allocations: 0 / 1.294 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/2.314, allocations: 19.62 MB / 1.314 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/2.314, allocations: 214.1 kB / 1.314 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/4.874, allocations: 0 / 1.314 GB, free: 159.6 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)