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.001571/0.001572, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001761/0.001761, allocations: 194.1 kB / 16.25 MB, free: 6.637 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9603/0.9603, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 64.2 kB / 0.5054 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1797, allocations: 81.03 MB / 0.5845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3106/0.4903, allocations: 29.6 MB / 0.6134 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009025/0.4994, allocations: 8.104 MB / 0.6213 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.5006, allocations: 29.94 kB / 0.6213 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009781/0.5017, allocations: 361.9 kB / 0.6217 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.5049, allocations: 1.28 MB / 0.6229 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.5074, allocations: 1.038 MB / 0.624 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00303/0.5104, allocations: 3.537 MB / 0.6274 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.5118, allocations: 1.304 MB / 0.6287 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.5141, allocations: 1.713 MB / 0.6304 GB, free: 29.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.5161, allocations: 1.653 MB / 0.632 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.5164, allocations: 130.8 kB / 0.6321 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.5182, allocations: 1.019 MB / 0.6331 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.5186, allocations: 404.7 kB / 0.6335 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006453/0.5192, allocations: 0.7495 MB / 0.6342 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.5213, allocations: 2.189 MB / 0.6363 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.5213, allocations: 4 kB / 0.6363 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5213, allocations: 0 / 0.6363 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.5214, allocations: 0 / 0.6363 GB, free: 27.22 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.002491/0.5239, allocations: 1.67 MB / 0.638 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5239, allocations: 14.12 kB / 0.638 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.5242, allocations: 150.8 kB / 0.6381 GB, free: 26.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.5255, allocations: 0.8885 MB / 0.639 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.5256, allocations: 79.47 kB / 0.6391 GB, free: 25.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.5258, allocations: 116.8 kB / 0.6392 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/0.5267, allocations: 0.6402 MB / 0.6398 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.5267, allocations: 3.938 kB / 0.6398 GB, free: 25.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.5268, allocations: 24.97 kB / 0.6398 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5268, allocations: 13.53 kB / 0.6399 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.5275, allocations: 461.1 kB / 0.6403 GB, free: 25.07 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.003636/0.5312, allocations: 2.875 MB / 0.6431 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.5318, allocations: 314.9 kB / 0.6434 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.532, allocations: 148.1 kB / 0.6435 GB, free: 23.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.5322, allocations: 346.4 kB / 0.6439 GB, free: 22.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.5323, allocations: 34.84 kB / 0.6439 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.5323, allocations: 0 / 0.6439 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001154/0.5334, allocations: 0.5351 MB / 0.6444 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.5335, allocations: 54.09 kB / 0.6445 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.5344, allocations: 0.9049 MB / 0.6454 GB, free: 22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.5346, allocations: 54.05 kB / 0.6454 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.535, allocations: 0.5288 MB / 0.6459 GB, free: 21.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.535, allocations: 114.7 kB / 0.646 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.5354, allocations: 290.1 kB / 0.6463 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.5355, allocations: 334.5 kB / 0.6466 GB, free: 21.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.5359, allocations: 188.6 kB / 0.6468 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.5371, allocations: 1.151 MB / 0.6479 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.5379, allocations: 459 kB / 0.6484 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.538, allocations: 5.062 kB / 0.6484 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001353/0.5393, allocations: 0.6523 MB / 0.649 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5393, allocations: 6.156 kB / 0.649 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5394, allocations: 2.047 kB / 0.649 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5394, allocations: 5.375 kB / 0.649 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.5408, allocations: 231 kB / 0.6493 GB, free: 19.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009125/0.5417, allocations: 2.958 MB / 0.6521 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.5451, allocations: 0.7277 MB / 0.6529 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.5451, allocations: 26.91 kB / 0.6529 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007039/0.5459, allocations: 375.2 kB / 0.6532 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001111/0.547, allocations: 1.16 MB / 0.6544 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000707/0.5477, allocations: 453.3 kB / 0.6548 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.5477, allocations: 0 / 0.6548 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001426/0.5491, allocations: 0.6602 MB / 0.6554 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5492, allocations: 9.391 kB / 0.6555 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5492, allocations: 3.438 kB / 0.6555 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.5492, allocations: 4.875 kB / 0.6555 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.5499, allocations: 157.6 kB / 0.6556 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5499, allocations: 10.7 kB / 0.6556 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/0.5544, allocations: 0.9831 MB / 0.6566 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.5545, allocations: 30.38 kB / 0.6566 GB, free: 14.34 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.0003179/0.5548, allocations: 242 kB / 0.6568 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.555, allocations: 95.91 kB / 0.6569 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.5562, allocations: 0.5157 MB / 0.6574 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5562, allocations: 5.469 kB / 0.6574 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5562, allocations: 0.5625 kB / 0.6574 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.5562, allocations: 2.703 kB / 0.6574 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.5582, allocations: 1.251 MB / 0.6587 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.5582, allocations: 1.438 kB / 0.6587 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.5587, allocations: 126.8 kB / 0.6588 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.5588, allocations: 6.625 kB / 0.6588 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.5588, allocations: 15.16 kB / 0.6588 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008278/0.5596, allocations: 2.937 MB / 0.6617 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5596, allocations: 9.922 kB / 0.6617 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.5605, allocations: 0.5663 MB / 0.6622 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.5609, allocations: 211.8 kB / 0.6624 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.561, allocations: 7.719 kB / 0.6625 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005258/0.5615, allocations: 68.92 kB / 0.6625 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.5616, allocations: 29.84 kB / 0.6625 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.5616, allocations: 17.22 kB / 0.6626 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000849/0.5625, allocations: 0.606 MB / 0.6632 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5625, allocations: 0 / 0.6632 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001817/0.5643, allocations: 0.5354 MB / 0.6637 GB, free: 9.285 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.0007685/0.5651, allocations: 330.1 kB / 0.664 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002589/0.5677, allocations: 0.8555 MB / 0.6648 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5677, allocations: 1.656 kB / 0.6648 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.5683, allocations: 233.9 kB / 0.6651 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.57, allocations: 412.7 kB / 0.6654 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.5723, allocations: 1.871 MB / 0.6673 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.5727, allocations: 1.025 MB / 0.6683 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009045/0.5736, allocations: 213 kB / 0.6685 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.5738, allocations: 82.8 kB / 0.6686 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.5738, allocations: 0 / 0.6686 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of Templates: time 0.04213/0.616, allocations: 24.75 MB / 0.6927 GB, free: 12.79 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)