Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000964/0.0009639, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 180.8 kB / 16.92 MB, free: 6.23 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9548/0.9548, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 9.438 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 82.3 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3211/0.4695, allocations: 28.93 MB / 0.6169 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009468/0.4791, allocations: 8.112 MB / 0.6248 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.4807, allocations: 30.66 kB / 0.6248 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.4818, allocations: 349.5 kB / 0.6252 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.4856, allocations: 1.228 MB / 0.6264 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.4882, allocations: 1.033 MB / 0.6274 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004531/0.4927, allocations: 4.199 MB / 0.6315 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.4945, allocations: 1.161 MB / 0.6326 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.4973, allocations: 1.496 MB / 0.6341 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.4999, allocations: 1.596 MB / 0.6356 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.5003, allocations: 64.03 kB / 0.6357 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.5023, allocations: 0.9294 MB / 0.6366 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.5027, allocations: 341 kB / 0.6369 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009274/0.5036, allocations: 0.7052 MB / 0.6376 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.5052, allocations: 1.545 MB / 0.6391 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5053, allocations: 0 / 0.6391 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5053, allocations: 0 / 0.6391 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.5053, allocations: 3.938 kB / 0.6391 GB, free: 28.82 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002215/0.5075, allocations: 1.338 MB / 0.6404 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5076, allocations: 11.38 kB / 0.6404 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.5079, allocations: 152.7 kB / 0.6406 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5093, allocations: 0.899 MB / 0.6415 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.5093, allocations: 79.12 kB / 0.6415 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5095, allocations: 118.3 kB / 0.6416 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.5105, allocations: 0.6438 MB / 0.6423 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.5105, allocations: 2.688 kB / 0.6423 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.5106, allocations: 25.25 kB / 0.6423 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.5106, allocations: 17.94 kB / 0.6423 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.5114, allocations: 479.2 kB / 0.6428 GB, free: 26.8 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.003853/0.5152, allocations: 2.892 MB / 0.6456 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.5158, allocations: 303.5 kB / 0.6459 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.5161, allocations: 152.8 kB / 0.646 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.5163, allocations: 354.7 kB / 0.6464 GB, free: 24.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.5163, allocations: 33.62 kB / 0.6464 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.5163, allocations: 3.938 kB / 0.6464 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001205/0.5175, allocations: 0.5489 MB / 0.6469 GB, free: 24.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.5176, allocations: 54.22 kB / 0.647 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009425/0.5185, allocations: 0.9027 MB / 0.6479 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.5187, allocations: 59.58 kB / 0.6479 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.5191, allocations: 0.5295 MB / 0.6484 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.5192, allocations: 118.6 kB / 0.6486 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.5193, allocations: 66.19 kB / 0.6486 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.5193, allocations: 330.3 kB / 0.6489 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.5198, allocations: 191.3 kB / 0.6491 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.521, allocations: 1.157 MB / 0.6502 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009043/0.522, allocations: 470.2 kB / 0.6507 GB, free: 21.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.522, allocations: 1.188 kB / 0.6507 GB, free: 21.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001519/0.5235, allocations: 0.6714 MB / 0.6514 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.5236, allocations: 154.4 kB / 0.6515 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5236, allocations: 2.281 kB / 0.6515 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5236, allocations: 4.469 kB / 0.6515 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5251, allocations: 238.9 kB / 0.6517 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.5262, allocations: 2.953 MB / 0.6546 GB, free: 17.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/0.5299, allocations: 0.7565 MB / 0.6554 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.411e-05/0.53, allocations: 26.23 kB / 0.6554 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.53, allocations: 3.406 kB / 0.6554 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001035/0.5311, allocations: 0.5025 MB / 0.6559 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5311, allocations: 2.25 kB / 0.6559 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5311, allocations: 5.547 kB / 0.6559 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.5318, allocations: 157.6 kB / 0.656 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.5318, allocations: 6.203 kB / 0.656 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003653/0.5355, allocations: 0.7415 MB / 0.6568 GB, free: 17.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.5356, allocations: 33.69 kB / 0.6568 GB, free: 17.59 MB / 0.4981 GB 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.0007837/0.5364, allocations: 330.8 kB / 0.6571 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.5367, allocations: 95.38 kB / 0.6572 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.538, allocations: 0.5229 MB / 0.6577 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.538, allocations: 4.672 kB / 0.6577 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.538, allocations: 1.578 kB / 0.6577 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.538, allocations: 2.391 kB / 0.6577 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.5401, allocations: 1.268 MB / 0.659 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5402, allocations: 5.25 kB / 0.659 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.5407, allocations: 128.4 kB / 0.6591 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.5408, allocations: 7.141 kB / 0.6591 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.5408, allocations: 11.11 kB / 0.6591 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008185/0.5416, allocations: 2.944 MB / 0.662 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5416, allocations: 1.062 kB / 0.662 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.5425, allocations: 0.5775 MB / 0.6625 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.5429, allocations: 229 kB / 0.6628 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.543, allocations: 7.469 kB / 0.6628 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.5435, allocations: 64.89 kB / 0.6628 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.5436, allocations: 38.98 kB / 0.6629 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.5437, allocations: 15.88 kB / 0.6629 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008454/0.5445, allocations: 0.6065 MB / 0.6635 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5445, allocations: 0 / 0.6635 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001723/0.5463, allocations: 0.5363 MB / 0.664 GB, free: 12.5 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.0006635/0.5469, allocations: 323.6 kB / 0.6643 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002675/0.5496, allocations: 0.8643 MB / 0.6652 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5496, allocations: 4.375 kB / 0.6652 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.5502, allocations: 237.1 kB / 0.6654 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.553, allocations: 481.8 kB / 0.6658 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.5555, allocations: 1.925 MB / 0.6677 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.556, allocations: 1.025 MB / 0.6687 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.5563, allocations: 81.44 kB / 0.6688 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.5563, allocations: 1.375 kB / 0.6688 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.04536/0.6016, allocations: 36.26 MB / 0.7042 GB, free: 5.238 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)