Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 106.5 kB / 16.35 MB, free: 5.875 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.001852/0.001852, allocations: 195.5 kB / 17.3 MB, free: 5.516 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 / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7927/0.7927, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4173, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02446/0.4418, allocations: 29.84 MB / 0.6106 GB, free: 316 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01255/0.4544, allocations: 8.135 MB / 0.6186 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.4561, allocations: 31.75 kB / 0.6186 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.4576, allocations: 428.9 kB / 0.619 GB, free: 7.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.4619, allocations: 1.371 MB / 0.6203 GB, free: 6.355 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.465, allocations: 1.144 MB / 0.6215 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004433/0.4694, allocations: 3.552 MB / 0.6249 GB, free: 1.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.4712, allocations: 1.335 MB / 0.6262 GB, free: 324 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.4738, allocations: 1.683 MB / 0.6279 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.4764, allocations: 1.612 MB / 0.6295 GB, free: 13.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004926/0.4769, allocations: 124 kB / 0.6296 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.4792, allocations: 1.026 MB / 0.6306 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.4798, allocations: 410.7 kB / 0.631 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009968/0.4808, allocations: 0.7467 MB / 0.6317 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.4837, allocations: 2.205 MB / 0.6338 GB, free: 8.504 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4837, allocations: 4 kB / 0.6339 GB, free: 8.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4837, allocations: 0 / 0.6339 GB, free: 8.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.4837, allocations: 0 / 0.6339 GB, free: 8.5 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002839/0.4866, allocations: 1.671 MB / 0.6355 GB, free: 6.773 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4866, allocations: 8.031 kB / 0.6355 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.487, allocations: 150.8 kB / 0.6356 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.4891, allocations: 0.9298 MB / 0.6365 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.4892, allocations: 81.31 kB / 0.6366 GB, free: 5.551 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.4894, allocations: 116 kB / 0.6367 GB, free: 5.438 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.4904, allocations: 0.6395 MB / 0.6374 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4904, allocations: 0 / 0.6374 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.4905, allocations: 28 kB / 0.6374 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.4905, allocations: 19.88 kB / 0.6374 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.4914, allocations: 456.9 kB / 0.6378 GB, free: 4.277 MB / 478.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.004687/0.4961, allocations: 2.86 MB / 0.6406 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.4967, allocations: 315.1 kB / 0.6409 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.497, allocations: 141.4 kB / 0.6411 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.4974, allocations: 348.7 kB / 0.6414 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4974, allocations: 38.84 kB / 0.6414 GB, free: 352 kB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.4974, allocations: 0 / 0.6414 GB, free: 352 kB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001228/0.4986, allocations: 0.5331 MB / 0.642 GB, free: 15.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4987, allocations: 55.41 kB / 0.642 GB, free: 15.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.4997, allocations: 0.8997 MB / 0.6429 GB, free: 14.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.4999, allocations: 57.7 kB / 0.6429 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.5003, allocations: 490.6 kB / 0.6434 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.5004, allocations: 118.3 kB / 0.6435 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.5008, allocations: 283 kB / 0.6438 GB, free: 13.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.501, allocations: 342 kB / 0.6441 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.5014, allocations: 189.4 kB / 0.6443 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.5027, allocations: 1.155 MB / 0.6454 GB, free: 11.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.5035, allocations: 463.3 kB / 0.6459 GB, free: 11.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5035, allocations: 0 / 0.6459 GB, free: 11.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001276/0.5048, allocations: 0.6578 MB / 0.6465 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5048, allocations: 4 kB / 0.6465 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5048, allocations: 4 kB / 0.6465 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5048, allocations: 4 kB / 0.6465 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.5062, allocations: 235.9 kB / 0.6467 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.5078, allocations: 2.95 MB / 0.6496 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.5109, allocations: 0.7028 MB / 0.6503 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.5109, allocations: 27.98 kB / 0.6503 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006805/0.5116, allocations: 365.3 kB / 0.6507 GB, free: 6.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001309/0.513, allocations: 1.154 MB / 0.6518 GB, free: 4.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007507/0.5137, allocations: 464.8 kB / 0.6523 GB, free: 4.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.5137, allocations: 4 kB / 0.6523 GB, free: 4.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001351/0.5151, allocations: 0.6588 MB / 0.6529 GB, free: 3.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5151, allocations: 5.875 kB / 0.6529 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5151, allocations: 4 kB / 0.6529 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-06/0.5151, allocations: 4 kB / 0.6529 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.5158, allocations: 159.8 kB / 0.6531 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5158, allocations: 4 kB / 0.6531 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.5199, allocations: 0.9576 MB / 0.654 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.5199, allocations: 31.98 kB / 0.654 GB, free: 2.422 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.5202, allocations: 245.7 kB / 0.6543 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5204, allocations: 94.78 kB / 0.6544 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.5216, allocations: 0.5126 MB / 0.6549 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5216, allocations: 11.98 kB / 0.6549 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5216, allocations: 4 kB / 0.6549 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5216, allocations: 3.984 kB / 0.6549 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.5237, allocations: 1.249 MB / 0.6561 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5238, allocations: 0 / 0.6561 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.5243, allocations: 111.9 kB / 0.6562 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.5243, allocations: 4 kB / 0.6562 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.5243, allocations: 15.92 kB / 0.6562 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.5258, allocations: 2.95 MB / 0.6591 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5258, allocations: 0 / 0.6591 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.5267, allocations: 0.5633 MB / 0.6597 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.527, allocations: 211.7 kB / 0.6599 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.857e-05/0.5271, allocations: 11.98 kB / 0.6599 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.5275, allocations: 27.91 kB / 0.6599 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.5276, allocations: 31.91 kB / 0.6599 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.5276, allocations: 19.98 kB / 0.66 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007102/0.5283, allocations: 0.6084 MB / 0.6605 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5284, allocations: 3.938 kB / 0.6606 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001448/0.5298, allocations: 0.5422 MB / 0.6611 GB, free: 10.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006848/0.5305, allocations: 323 kB / 0.6614 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002425/0.5329, allocations: 0.8473 MB / 0.6622 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.5329, allocations: 0 / 0.6622 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.5335, allocations: 228.9 kB / 0.6624 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5351, allocations: 400 kB / 0.6628 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.5374, allocations: 1.524 MB / 0.6643 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.538, allocations: 1.029 MB / 0.6653 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007091/0.5387, allocations: 202.9 kB / 0.6655 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.5389, allocations: 83.41 kB / 0.6656 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.5389, allocations: 0 / 0.6656 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.03872/0.5776, allocations: 24.9 MB / 0.6899 GB, free: 13.79 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)