Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 102.2 kB / 16.27 MB, free: 5.988 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.001337/0.001337, allocations: 189.6 kB / 17.2 MB, free: 5.602 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8146/0.8146, allocations: 135.1 MB / 426.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 64.12 kB / 0.506 GB, free: 8.391 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3928, allocations: 80.92 MB / 0.585 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01637/0.4093, allocations: 19.44 MB / 0.604 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006221/0.4155, allocations: 5.135 MB / 0.609 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.4164, allocations: 23.81 kB / 0.609 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.4172, allocations: 262.5 kB / 0.6093 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.419, allocations: 0.7704 MB / 0.61 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.4209, allocations: 0.8781 MB / 0.6109 GB, free: 64 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.4226, allocations: 1.544 MB / 0.6124 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.4233, allocations: 0.5114 MB / 0.6129 GB, free: 14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.4244, allocations: 0.6226 MB / 0.6135 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006332/0.425, allocations: 0.529 MB / 0.614 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-05/0.4251, allocations: 59.94 kB / 0.6141 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.4265, allocations: 0.6979 MB / 0.6148 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.4266, allocations: 171.3 kB / 0.6149 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.427, allocations: 378 kB / 0.6153 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.4283, allocations: 1.083 MB / 0.6164 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4283, allocations: 4 kB / 0.6164 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4284, allocations: 0 / 0.6164 GB, free: 10.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4284, allocations: 0 / 0.6164 GB, free: 10.46 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.001873/0.4303, allocations: 1.102 MB / 0.6174 GB, free: 9.305 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4303, allocations: 13.11 kB / 0.6174 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.4305, allocations: 80 kB / 0.6175 GB, free: 9.215 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.4311, allocations: 0.5025 MB / 0.618 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.4312, allocations: 45 kB / 0.6181 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.4313, allocations: 48 kB / 0.6181 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.4323, allocations: 0.6215 MB / 0.6187 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4323, allocations: 0 / 0.6187 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.4324, allocations: 28 kB / 0.6187 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4324, allocations: 12 kB / 0.6188 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.4335, allocations: 491.4 kB / 0.6192 GB, free: 7.379 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.003361/0.4368, allocations: 3.212 MB / 0.6224 GB, free: 3.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.4375, allocations: 350.7 kB / 0.6227 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.438, allocations: 231 kB / 0.6229 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.4385, allocations: 340.4 kB / 0.6232 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.4385, allocations: 38.56 kB / 0.6233 GB, free: 2.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.455e-06/0.4385, allocations: 0 / 0.6233 GB, free: 2.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002224/0.4407, allocations: 0.8037 MB / 0.6241 GB, free: 2.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.4408, allocations: 59.41 kB / 0.6241 GB, free: 2.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.4415, allocations: 0.5861 MB / 0.6247 GB, free: 1.441 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.4415, allocations: 37.7 kB / 0.6247 GB, free: 1.398 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.4417, allocations: 328.4 kB / 0.625 GB, free: 1.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4419, allocations: 134.1 kB / 0.6252 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.442, allocations: 126.1 kB / 0.6253 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4422, allocations: 378.7 kB / 0.6256 GB, free: 444 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.4427, allocations: 219.4 kB / 0.6259 GB, free: 220 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.4434, allocations: 372 kB / 0.6262 GB, free: 15.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.4445, allocations: 0.5705 MB / 0.6268 GB, free: 15.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4445, allocations: 0 / 0.6268 GB, free: 15.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001509/0.446, allocations: 0.7144 MB / 0.6275 GB, free: 14.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4461, allocations: 8 kB / 0.6275 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4461, allocations: 4.562 kB / 0.6275 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/0.4467, allocations: 148.7 kB / 0.6276 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.4473, allocations: 139.8 kB / 0.6278 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007461/0.4481, allocations: 0.6225 MB / 0.6284 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.4486, allocations: 75.34 kB / 0.6284 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.4487, allocations: 31.98 kB / 0.6285 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006663/0.4494, allocations: 353.3 kB / 0.6288 GB, free: 13.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006651/0.45, allocations: 368 kB / 0.6291 GB, free: 12.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.4511, allocations: 0.551 MB / 0.6297 GB, free: 12 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.4511, allocations: 3.938 kB / 0.6297 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001362/0.4525, allocations: 0.6787 MB / 0.6304 GB, free: 11.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.4525, allocations: 8 kB / 0.6304 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4525, allocations: 4 kB / 0.6304 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.4526, allocations: 8 kB / 0.6304 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.4532, allocations: 155.8 kB / 0.6305 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4532, allocations: 11.94 kB / 0.6305 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.4537, allocations: 67.83 kB / 0.6306 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.4538, allocations: 32 kB / 0.6306 GB, free: 11.03 MB / 478.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.0002011/0.454, allocations: 220.9 kB / 0.6308 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.4541, allocations: 63.16 kB / 0.6309 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.4556, allocations: 0.6356 MB / 0.6315 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4556, allocations: 7.938 kB / 0.6315 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4556, allocations: 64 / 0.6315 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4557, allocations: 4 kB / 0.6315 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.4581, allocations: 1.363 MB / 0.6329 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4582, allocations: 4 kB / 0.6329 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.4585, allocations: 87.97 kB / 0.6329 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.4589, allocations: 104.8 kB / 0.633 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.4589, allocations: 19.98 kB / 0.6331 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006593/0.4596, allocations: 0.6226 MB / 0.6337 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4596, allocations: 3.984 kB / 0.6337 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.461, allocations: 0.7045 MB / 0.6344 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.4613, allocations: 188.1 kB / 0.6345 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4614, allocations: 12 kB / 0.6346 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.4618, allocations: 35.95 kB / 0.6346 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.4619, allocations: 31.95 kB / 0.6346 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.462, allocations: 19.94 kB / 0.6346 GB, free: 6.746 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000528/0.4625, allocations: 407 kB / 0.635 GB, free: 6.355 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4625, allocations: 0 / 0.635 GB, free: 6.355 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001258/0.4638, allocations: 387.4 kB / 0.6354 GB, free: 5.977 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.0007898/0.4646, allocations: 305.2 kB / 0.6357 GB, free: 5.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.4668, allocations: 0.8937 MB / 0.6366 GB, free: 4.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4669, allocations: 4.25 kB / 0.6366 GB, free: 4.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.4676, allocations: 292 kB / 0.6368 GB, free: 4.496 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.4688, allocations: 221.6 kB / 0.6371 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.4709, allocations: 1.102 MB / 0.6381 GB, free: 3.145 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.4715, allocations: 0.9116 MB / 0.639 GB, free: 2.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.4717, allocations: 67.41 kB / 0.6391 GB, free: 2.137 MB / 478.1 MB Notification: Performance of SimCode: time 1.863e-06/0.4717, allocations: 4 kB / 0.6391 GB, free: 2.133 MB / 478.1 MB Notification: Performance of Templates: time 0.01976/0.4914, allocations: 12.88 MB / 0.6517 GB, free: 5.363 MB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)