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.001377/0.001377, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001776/0.001776, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.53/1.53, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8738/0.8738, allocations: 135.1 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 62.09 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1927, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02609/0.2188, allocations: 19.45 MB / 0.6843 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008947/0.2278, allocations: 5.154 MB / 0.6893 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.229, allocations: 15.88 kB / 0.6894 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.2301, allocations: 282 kB / 0.6896 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.2329, allocations: 0.7999 MB / 0.6904 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.2354, allocations: 0.8709 MB / 0.6913 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002469/0.2379, allocations: 1.556 MB / 0.6928 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009751/0.2389, allocations: 0.5054 MB / 0.6933 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2403, allocations: 0.6421 MB / 0.6939 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.2414, allocations: 0.5367 MB / 0.6944 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.2416, allocations: 56 kB / 0.6945 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.2433, allocations: 0.7018 MB / 0.6952 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.2436, allocations: 159.4 kB / 0.6953 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.2442, allocations: 378 kB / 0.6957 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.2462, allocations: 1.105 MB / 0.6968 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2463, allocations: 0 / 0.6968 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2463, allocations: 0 / 0.6968 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.995e-05/0.2463, allocations: 4 kB / 0.6968 GB, free: 5.465 MB / 0.5294 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.002496/0.2488, allocations: 1.128 MB / 0.6979 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2489, allocations: 13.11 kB / 0.6979 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2491, allocations: 92.38 kB / 0.698 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2502, allocations: 0.5224 MB / 0.6985 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.2502, allocations: 37 kB / 0.6985 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.2503, allocations: 48 kB / 0.6986 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.2514, allocations: 0.6255 MB / 0.6992 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.2515, allocations: 4 kB / 0.6992 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.2515, allocations: 16 kB / 0.6992 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.2516, allocations: 12 kB / 0.6992 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2527, allocations: 495.4 kB / 0.6997 GB, free: 2.332 MB / 0.5294 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.003902/0.2566, allocations: 3.209 MB / 0.7028 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.2573, allocations: 334.9 kB / 0.7031 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.2578, allocations: 236.7 kB / 0.7033 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.2582, allocations: 352.1 kB / 0.7037 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.2583, allocations: 38.56 kB / 0.7037 GB, free: 13.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 2.114e-06/0.2583, allocations: 0 / 0.7037 GB, free: 13.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.00219/0.2605, allocations: 0.8048 MB / 0.7045 GB, free: 13.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2605, allocations: 63.09 kB / 0.7046 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.2612, allocations: 0.5862 MB / 0.7051 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.2613, allocations: 33.7 kB / 0.7052 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.2616, allocations: 337 kB / 0.7055 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.2617, allocations: 138.8 kB / 0.7056 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.2619, allocations: 126.3 kB / 0.7057 GB, free: 11.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.2621, allocations: 378.7 kB / 0.7061 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.2626, allocations: 223.4 kB / 0.7063 GB, free: 11.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.2632, allocations: 364 kB / 0.7067 GB, free: 10.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.2643, allocations: 0.5742 MB / 0.7072 GB, free: 10.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2643, allocations: 0 / 0.7072 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001569/0.2659, allocations: 0.7232 MB / 0.7079 GB, free: 9.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.266, allocations: 4 kB / 0.7079 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.266, allocations: 8 kB / 0.7079 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.2666, allocations: 132.7 kB / 0.7081 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.2672, allocations: 143.8 kB / 0.7082 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006587/0.2678, allocations: 0.6225 MB / 0.7088 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.2684, allocations: 79.48 kB / 0.7089 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.2685, allocations: 35.98 kB / 0.7089 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000671/0.2692, allocations: 349.3 kB / 0.7093 GB, free: 7.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006067/0.2698, allocations: 364.1 kB / 0.7096 GB, free: 7.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/0.2709, allocations: 0.5665 MB / 0.7102 GB, free: 6.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.2709, allocations: 0 / 0.7102 GB, free: 6.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00142/0.2723, allocations: 0.6711 MB / 0.7108 GB, free: 6.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2723, allocations: 9.875 kB / 0.7108 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2724, allocations: 4 kB / 0.7108 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2724, allocations: 8 kB / 0.7108 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.273, allocations: 159.7 kB / 0.711 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.273, allocations: 12.38 kB / 0.711 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.2736, allocations: 71.69 kB / 0.7111 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.2737, allocations: 31.98 kB / 0.7111 GB, free: 5.957 MB / 0.545 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 (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.0002229/0.2739, allocations: 212.1 kB / 0.7113 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.2741, allocations: 67.58 kB / 0.7114 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.2756, allocations: 0.6538 MB / 0.712 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.2756, allocations: 4.078 kB / 0.712 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2756, allocations: 3.984 kB / 0.712 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.2759, allocations: 204.5 kB / 0.7122 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.276, allocations: 4 kB / 0.7122 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.2764, allocations: 31.97 kB / 0.7122 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/0.2765, allocations: 28.33 kB / 0.7123 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001603/0.2781, allocations: 0.6591 MB / 0.7129 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00199/0.2802, allocations: 0.9742 MB / 0.7139 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005018/0.2807, allocations: 232.2 kB / 0.7141 GB, free: 2.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005482/0.2812, allocations: 407 kB / 0.7145 GB, free: 2.445 MB / 0.545 GB Notification: Performance of Backend: time 6.81e-07/0.2812, allocations: 0 / 0.7145 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.2841, allocations: 0.9433 MB / 0.7154 GB, free: 1.508 MB / 0.545 GB Notification: Performance of SimCode: time 0.003177/0.2873, allocations: 1.611 MB / 0.717 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of Templates: time 0.02907/0.3164, allocations: 14.41 MB / 0.731 GB, free: 1.59 MB / 0.5606 GB 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)