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.001513/0.001513, allocations: 103.9 kB / 15.98 MB, free: 6.312 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.00132/0.00132, allocations: 197.8 kB / 16.91 MB, free: 6.16 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8017/0.8017, allocations: 135.2 MB / 425.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 71.86 kB / 0.5056 GB, free: 8.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.303, allocations: 80.92 MB / 0.5846 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01262/0.3156, allocations: 19.32 MB / 0.6034 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006335/0.322, allocations: 5.118 MB / 0.6084 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007709/0.3228, allocations: 15.88 kB / 0.6085 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.3235, allocations: 223.7 kB / 0.6087 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.3249, allocations: 0.7115 MB / 0.6094 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3263, allocations: 0.7919 MB / 0.6101 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.3279, allocations: 1.554 MB / 0.6117 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.3286, allocations: 0.5056 MB / 0.6122 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009546/0.3295, allocations: 0.6342 MB / 0.6128 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006259/0.3302, allocations: 0.5368 MB / 0.6133 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-05/0.3303, allocations: 56 kB / 0.6133 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3314, allocations: 0.7057 MB / 0.614 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.3316, allocations: 163.3 kB / 0.6142 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.332, allocations: 382 kB / 0.6146 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009306/0.3329, allocations: 0.7795 MB / 0.6153 GB, free: 11.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3329, allocations: 3.938 kB / 0.6153 GB, free: 11.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3329, allocations: 4 kB / 0.6153 GB, free: 11.19 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3329, allocations: 0 / 0.6153 GB, free: 11.19 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.001878/0.3348, allocations: 1.102 MB / 0.6164 GB, free: 10.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3349, allocations: 9.109 kB / 0.6164 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.335, allocations: 80 kB / 0.6165 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.3357, allocations: 0.5064 MB / 0.617 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.3358, allocations: 40.94 kB / 0.617 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.3358, allocations: 48 kB / 0.6171 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3369, allocations: 0.6315 MB / 0.6177 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.337, allocations: 7.938 kB / 0.6177 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.337, allocations: 16 kB / 0.6177 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.337, allocations: 12 kB / 0.6177 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3381, allocations: 495.4 kB / 0.6182 GB, free: 8.094 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.003518/0.3416, allocations: 3.197 MB / 0.6213 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.3423, allocations: 338.7 kB / 0.6216 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.3428, allocations: 238 kB / 0.6219 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003933/0.3432, allocations: 348.4 kB / 0.6222 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3433, allocations: 30.56 kB / 0.6222 GB, free: 3.676 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 1.864e-06/0.3433, allocations: 0 / 0.6222 GB, free: 3.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002064/0.3453, allocations: 0.8082 MB / 0.623 GB, free: 2.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3454, allocations: 55.41 kB / 0.6231 GB, free: 2.773 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.3461, allocations: 0.5939 MB / 0.6236 GB, free: 2.172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.3462, allocations: 29.7 kB / 0.6237 GB, free: 2.137 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.3464, allocations: 332.4 kB / 0.624 GB, free: 1.809 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3465, allocations: 130.1 kB / 0.6241 GB, free: 1.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.3467, allocations: 130.1 kB / 0.6242 GB, free: 1.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3469, allocations: 374.7 kB / 0.6246 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.3474, allocations: 223.3 kB / 0.6248 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.3481, allocations: 372 kB / 0.6252 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.3492, allocations: 0.5667 MB / 0.6257 GB, free: 15.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3492, allocations: 0 / 0.6257 GB, free: 15.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00147/0.3506, allocations: 0.7149 MB / 0.6264 GB, free: 15.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3507, allocations: 8.062 kB / 0.6264 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3507, allocations: 8 kB / 0.6264 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.3513, allocations: 128.8 kB / 0.6266 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.3518, allocations: 139.8 kB / 0.6267 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006009/0.3524, allocations: 0.6303 MB / 0.6273 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.353, allocations: 91.39 kB / 0.6274 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.3531, allocations: 35.98 kB / 0.6274 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006384/0.3537, allocations: 345.3 kB / 0.6278 GB, free: 13.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000601/0.3544, allocations: 367.8 kB / 0.6281 GB, free: 13.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001057/0.3554, allocations: 0.5627 MB / 0.6287 GB, free: 12.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.3554, allocations: 4 kB / 0.6287 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001326/0.3568, allocations: 0.6706 MB / 0.6293 GB, free: 12.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3568, allocations: 12.5 kB / 0.6293 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3568, allocations: 8 kB / 0.6293 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.3568, allocations: 8 kB / 0.6293 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.3574, allocations: 155.8 kB / 0.6295 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.3574, allocations: 15.86 kB / 0.6295 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.358, allocations: 83.55 kB / 0.6296 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.358, allocations: 27.98 kB / 0.6296 GB, free: 11.74 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.0002019/0.3582, allocations: 216.1 kB / 0.6298 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.3583, allocations: 63.16 kB / 0.6299 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.3598, allocations: 0.6491 MB / 0.6305 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.3599, allocations: 7.938 kB / 0.6305 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3599, allocations: 3.984 kB / 0.6305 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3599, allocations: 0 / 0.6305 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.3623, allocations: 1.359 MB / 0.6318 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3623, allocations: 3.984 kB / 0.6319 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.3627, allocations: 88.05 kB / 0.6319 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/0.363, allocations: 104.8 kB / 0.632 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.3631, allocations: 12 kB / 0.632 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006264/0.3637, allocations: 0.6342 MB / 0.6327 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3637, allocations: 0 / 0.6327 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.365, allocations: 0.7007 MB / 0.6334 GB, free: 7.762 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.3653, allocations: 196 kB / 0.6335 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.3654, allocations: 8 kB / 0.6335 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.3658, allocations: 47.94 kB / 0.6336 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.3659, allocations: 31.97 kB / 0.6336 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.366, allocations: 15.98 kB / 0.6336 GB, free: 7.449 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004561/0.3664, allocations: 403.1 kB / 0.634 GB, free: 7.062 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.923e-06/0.3664, allocations: 0 / 0.634 GB, free: 7.062 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001031/0.3675, allocations: 395.3 kB / 0.6344 GB, free: 6.676 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.0006279/0.3681, allocations: 308.5 kB / 0.6347 GB, free: 6.375 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.3701, allocations: 0.8896 MB / 0.6356 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3701, allocations: 0 / 0.6356 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.3708, allocations: 288.7 kB / 0.6358 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3719, allocations: 236.5 kB / 0.6361 GB, free: 4.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3738, allocations: 1.342 MB / 0.6374 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.3743, allocations: 0.9116 MB / 0.6383 GB, free: 2.656 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.3745, allocations: 67.36 kB / 0.6383 GB, free: 2.59 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3745, allocations: 0 / 0.6383 GB, free: 2.59 MB / 478.1 MB Notification: Performance of Templates: time 0.0173/0.3919, allocations: 12.87 MB / 0.6509 GB, free: 5.824 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)