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.0008342/0.0008341, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008451/0.0008451, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8695/0.8695, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.000293, allocations: 8 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.161, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01507/0.1761, allocations: 16.32 MB / 0.6031 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2594/0.4355, allocations: 4.458 MB / 0.6075 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.4361, allocations: 18.19 kB / 0.6075 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.4368, allocations: 249.8 kB / 0.6077 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.4384, allocations: 0.8159 MB / 0.6085 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.4404, allocations: 0.9245 MB / 0.6094 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.4415, allocations: 0.9451 MB / 0.6104 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.442, allocations: 422.2 kB / 0.6108 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006215/0.4426, allocations: 0.5119 MB / 0.6113 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.443, allocations: 404.8 kB / 0.6117 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.443, allocations: 26.53 kB / 0.6117 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.4439, allocations: 0.6414 MB / 0.6123 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.444, allocations: 125.3 kB / 0.6124 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.4441, allocations: 155.4 kB / 0.6126 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.4447, allocations: 0.7446 MB / 0.6133 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4448, allocations: 0 / 0.6133 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4448, allocations: 0 / 0.6133 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4448, allocations: 2.734 kB / 0.6133 GB, free: 34.56 MB / 0.4981 GB 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.001307/0.4461, allocations: 1.002 MB / 0.6143 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.4461, allocations: 9.031 kB / 0.6143 GB, free: 33.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.631e-05/0.4462, allocations: 83.66 kB / 0.6144 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.4468, allocations: 482 kB / 0.6148 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.4468, allocations: 39.5 kB / 0.6149 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.4469, allocations: 45.75 kB / 0.6149 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.4477, allocations: 0.6326 MB / 0.6155 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4477, allocations: 9.234 kB / 0.6155 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.4477, allocations: 20.53 kB / 0.6156 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4477, allocations: 16.25 kB / 0.6156 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008827/0.4486, allocations: 0.5095 MB / 0.6161 GB, free: 33.42 MB / 0.4981 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.002601/0.4512, allocations: 3.2 MB / 0.6192 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.4518, allocations: 359.9 kB / 0.6195 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.452, allocations: 348.6 kB / 0.6199 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.4521, allocations: 36.78 kB / 0.6199 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.543e-06/0.4521, allocations: 0 / 0.6199 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001803/0.4539, allocations: 0.8655 MB / 0.6207 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.4539, allocations: 58.41 kB / 0.6208 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.4545, allocations: 0.5834 MB / 0.6214 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.4546, allocations: 35.64 kB / 0.6214 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.4547, allocations: 329.9 kB / 0.6217 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.4548, allocations: 131.8 kB / 0.6218 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.4548, allocations: 10.12 kB / 0.6219 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.4549, allocations: 376.4 kB / 0.6222 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.4553, allocations: 223 kB / 0.6224 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.4558, allocations: 374.4 kB / 0.6228 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.4562, allocations: 258.6 kB / 0.623 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4562, allocations: 0 / 0.623 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001151/0.4574, allocations: 0.7235 MB / 0.6237 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.4577, allocations: 1.755 MB / 0.6255 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4577, allocations: 5.812 kB / 0.6255 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/0.4582, allocations: 154.2 kB / 0.6256 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.4588, allocations: 153.2 kB / 0.6258 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004347/0.4592, allocations: 0.6283 MB / 0.6264 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.4598, allocations: 103.4 kB / 0.6265 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.4598, allocations: 32.06 kB / 0.6265 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.4599, allocations: 6.594 kB / 0.6265 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001024/0.4609, allocations: 0.6234 MB / 0.6271 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4609, allocations: 5.406 kB / 0.6271 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.4609, allocations: 8.312 kB / 0.6271 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.4614, allocations: 165.2 kB / 0.6273 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4615, allocations: 9.062 kB / 0.6273 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.4619, allocations: 98.72 kB / 0.6274 GB, free: 26.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.462, allocations: 31.3 kB / 0.6274 GB, free: 26.99 MB / 0.4981 GB 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.4622, allocations: 272.3 kB / 0.6277 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.4623, allocations: 69.38 kB / 0.6277 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.4635, allocations: 0.6707 MB / 0.6284 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.4635, allocations: 5.875 kB / 0.6284 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4635, allocations: 0 / 0.6284 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4635, allocations: 3.328 kB / 0.6284 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.4654, allocations: 1.396 MB / 0.6298 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4655, allocations: 3.469 kB / 0.6298 GB, free: 26.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.4658, allocations: 85.7 kB / 0.6299 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.4661, allocations: 134.7 kB / 0.63 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.4662, allocations: 11.19 kB / 0.63 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004129/0.4666, allocations: 0.6409 MB / 0.6306 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4666, allocations: 0 / 0.6306 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4676, allocations: 0.7636 MB / 0.6314 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.4678, allocations: 202.8 kB / 0.6316 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.4679, allocations: 11.42 kB / 0.6316 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.4683, allocations: 58.86 kB / 0.6316 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.4684, allocations: 32.78 kB / 0.6317 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.4685, allocations: 20.48 kB / 0.6317 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003277/0.4688, allocations: 403 kB / 0.6321 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4688, allocations: 0 / 0.6321 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009021/0.4697, allocations: 388.2 kB / 0.6324 GB, free: 25.16 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005074/0.4702, allocations: 297.1 kB / 0.6327 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.4719, allocations: 0.9181 MB / 0.6336 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4719, allocations: 0 / 0.6336 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.4725, allocations: 305.3 kB / 0.6339 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.4737, allocations: 267 kB / 0.6342 GB, free: 24.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.4751, allocations: 1.285 MB / 0.6354 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.4754, allocations: 0.926 MB / 0.6363 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005042/0.4759, allocations: 154 kB / 0.6365 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.4761, allocations: 59.62 kB / 0.6365 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4761, allocations: 0 / 0.6365 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.01937/0.4955, allocations: 11.72 MB / 0.648 GB, free: 22.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: