Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00502/0.00502, allocations: 173.8 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6986/0.6986, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 11.98 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 81.57 MB / 0.5838 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01813/0.3551, allocations: 18.77 MB / 0.6021 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006833/0.362, allocations: 5.128 MB / 0.6071 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005361/0.3626, allocations: 17 kB / 0.6071 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.3631, allocations: 213.8 kB / 0.6073 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.3646, allocations: 0.7074 MB / 0.608 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.3663, allocations: 0.7868 MB / 0.6088 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.3681, allocations: 1.928 MB / 0.6107 GB, free: 120 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005401/0.3686, allocations: 445.6 kB / 0.6111 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007856/0.3694, allocations: 0.5628 MB / 0.6116 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.37, allocations: 0.5151 MB / 0.6121 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.3701, allocations: 28.5 kB / 0.6122 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009973/0.3711, allocations: 0.6589 MB / 0.6128 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3712, allocations: 133.4 kB / 0.6129 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.3715, allocations: 370.6 kB / 0.6133 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.3725, allocations: 1.046 MB / 0.6143 GB, free: 13.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3726, allocations: 11.94 kB / 0.6143 GB, free: 13.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3726, allocations: 1.062 kB / 0.6143 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3726, allocations: 0 / 0.6143 GB, free: 13.79 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001587/0.3742, allocations: 0.9898 MB / 0.6153 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3742, allocations: 9.844 kB / 0.6153 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.06e-05/0.3743, allocations: 89.83 kB / 0.6154 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3744, allocations: 88.97 kB / 0.6155 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.375, allocations: 0.4933 MB / 0.6159 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.3751, allocations: 37.06 kB / 0.616 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.3752, allocations: 48.31 kB / 0.616 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3762, allocations: 0.6386 MB / 0.6167 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3762, allocations: 6.594 kB / 0.6167 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.3763, allocations: 25.12 kB / 0.6167 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3763, allocations: 12.03 kB / 0.6167 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3773, allocations: 0.5121 MB / 0.6172 GB, free: 11.68 MB / 462.1 MB 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.002975/0.3803, allocations: 3.204 MB / 0.6203 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.381, allocations: 362.2 kB / 0.6207 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.3815, allocations: 243.2 kB / 0.6209 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.3818, allocations: 352.9 kB / 0.6212 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3819, allocations: 43.97 kB / 0.6213 GB, free: 7.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.473e-06/0.3819, allocations: 0 / 0.6213 GB, free: 7.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002071/0.3839, allocations: 0.8611 MB / 0.6221 GB, free: 7.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.384, allocations: 55.03 kB / 0.6222 GB, free: 7.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.3846, allocations: 0.5914 MB / 0.6227 GB, free: 7.117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.3847, allocations: 35.17 kB / 0.6228 GB, free: 7.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3849, allocations: 324.8 kB / 0.6231 GB, free: 6.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.385, allocations: 142.1 kB / 0.6232 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.3851, allocations: 57.12 kB / 0.6233 GB, free: 6.625 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3852, allocations: 373.1 kB / 0.6236 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.3857, allocations: 234.1 kB / 0.6239 GB, free: 6.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.3863, allocations: 381.8 kB / 0.6242 GB, free: 5.871 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3874, allocations: 0.5964 MB / 0.6248 GB, free: 5.477 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3874, allocations: 4.984 kB / 0.6248 GB, free: 5.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001417/0.3888, allocations: 0.7454 MB / 0.6255 GB, free: 4.793 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.3889, allocations: 221.6 kB / 0.6258 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.389, allocations: 8 kB / 0.6258 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.3896, allocations: 160.7 kB / 0.6259 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.3901, allocations: 143.7 kB / 0.626 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005007/0.3906, allocations: 0.6303 MB / 0.6267 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.3912, allocations: 99.39 kB / 0.6268 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.3912, allocations: 27.98 kB / 0.6268 GB, free: 3.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-06/0.3912, allocations: 4 kB / 0.6268 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.3924, allocations: 0.627 MB / 0.6274 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3924, allocations: 12.06 kB / 0.6274 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.3925, allocations: 4 kB / 0.6274 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.393, allocations: 163.8 kB / 0.6276 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3931, allocations: 12.28 kB / 0.6276 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.3936, allocations: 87.62 kB / 0.6277 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.3936, allocations: 39.98 kB / 0.6277 GB, free: 2.477 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.3939, allocations: 270.4 kB / 0.628 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.394, allocations: 63.16 kB / 0.628 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.3953, allocations: 0.6706 MB / 0.6287 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.3954, allocations: 7.984 kB / 0.6287 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3954, allocations: 7.938 kB / 0.6287 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3954, allocations: 0 / 0.6287 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.3976, allocations: 1.399 MB / 0.6301 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3976, allocations: 3.938 kB / 0.6301 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.398, allocations: 91.97 kB / 0.6302 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/0.3984, allocations: 128.7 kB / 0.6303 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.3984, allocations: 19.98 kB / 0.6303 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005412/0.399, allocations: 0.6342 MB / 0.6309 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.399, allocations: 0 / 0.6309 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.4002, allocations: 0.7397 MB / 0.6316 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.4004, allocations: 196.1 kB / 0.6318 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.4005, allocations: 12 kB / 0.6318 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.401, allocations: 55.94 kB / 0.6319 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.4011, allocations: 27.95 kB / 0.6319 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4011, allocations: 20 kB / 0.6319 GB, free: 13.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003893/0.4015, allocations: 403.1 kB / 0.6323 GB, free: 13.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.4015, allocations: 0 / 0.6323 GB, free: 13.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009117/0.4024, allocations: 399.2 kB / 0.6327 GB, free: 13.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001922/0.4043, allocations: 1.48 MB / 0.6341 GB, free: 11.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.4061, allocations: 0.9022 MB / 0.635 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4061, allocations: 0 / 0.635 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.4068, allocations: 303.6 kB / 0.6353 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.4083, allocations: 268.9 kB / 0.6356 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/0.4156, allocations: 5.778 MB / 0.6412 GB, free: 4.234 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4159, allocations: 0.9043 MB / 0.6421 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.4165, allocations: 156.2 kB / 0.6422 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.4168, allocations: 247.3 kB / 0.6425 GB, free: 2.91 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4168, allocations: 0 / 0.6425 GB, free: 2.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.336/1.753, allocations: 17.66 MB / 0.6597 GB, free: 1.66 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/1.753, allocations: 283.8 kB / 0.66 GB, free: 1.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/3.794, allocations: 0 / 0.66 GB, free: 1.285 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)