Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001185/0.001185, allocations: 117.4 kB / 16.42 MB, free: 6.465 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.001224/0.001224, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.05 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1703, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02102/0.1914, allocations: 19.44 MB / 0.6793 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00958/0.201, allocations: 5.147 MB / 0.6844 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2023, allocations: 19.88 kB / 0.6844 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.2037, allocations: 274 kB / 0.6846 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.2066, allocations: 0.8004 MB / 0.6854 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.2095, allocations: 0.8882 MB / 0.6863 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.2124, allocations: 1.552 MB / 0.6878 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.2137, allocations: 0.5172 MB / 0.6883 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.2155, allocations: 0.6382 MB / 0.6889 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.2169, allocations: 0.5252 MB / 0.6894 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.2171, allocations: 59.94 kB / 0.6895 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.2189, allocations: 0.6979 MB / 0.6902 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.2192, allocations: 159.4 kB / 0.6903 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007769/0.22, allocations: 385.9 kB / 0.6907 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.2225, allocations: 1.098 MB / 0.6918 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2225, allocations: 3.938 kB / 0.6918 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2225, allocations: 0 / 0.6918 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.2226, allocations: 0 / 0.6918 GB, free: 9.992 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.00258/0.2251, allocations: 1.106 MB / 0.6929 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.2252, allocations: 8.031 kB / 0.6929 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.2255, allocations: 87.89 kB / 0.693 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.2265, allocations: 0.5219 MB / 0.6935 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.2266, allocations: 37 kB / 0.6935 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.2267, allocations: 52 kB / 0.6935 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.2279, allocations: 0.6215 MB / 0.6942 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.228, allocations: 0 / 0.6942 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.228, allocations: 27.92 kB / 0.6942 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.228, allocations: 12 kB / 0.6942 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.2292, allocations: 495.4 kB / 0.6947 GB, free: 6.879 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.004102/0.2333, allocations: 3.193 MB / 0.6978 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.2341, allocations: 334.8 kB / 0.6981 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.2347, allocations: 240.7 kB / 0.6983 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/0.235, allocations: 344.4 kB / 0.6987 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.2351, allocations: 34.56 kB / 0.6987 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/0.2351, allocations: 0 / 0.6987 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.002197/0.2373, allocations: 0.8042 MB / 0.6995 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2373, allocations: 59.41 kB / 0.6995 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/0.2382, allocations: 0.5862 MB / 0.7001 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.2382, allocations: 37.7 kB / 0.7001 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.2386, allocations: 328.4 kB / 0.7005 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2387, allocations: 130.1 kB / 0.7006 GB, free: 480 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.2389, allocations: 126.2 kB / 0.7007 GB, free: 348 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.2392, allocations: 374.7 kB / 0.7011 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.2397, allocations: 223.4 kB / 0.7013 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.2403, allocations: 376 kB / 0.7016 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.2415, allocations: 0.5704 MB / 0.7022 GB, free: 14.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2415, allocations: 4 kB / 0.7022 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001571/0.2431, allocations: 0.7182 MB / 0.7029 GB, free: 13.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2431, allocations: 8 kB / 0.7029 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2431, allocations: 4 kB / 0.7029 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/0.2437, allocations: 137.3 kB / 0.703 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.2443, allocations: 135.8 kB / 0.7032 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005708/0.2449, allocations: 0.6187 MB / 0.7038 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.2455, allocations: 91.17 kB / 0.7039 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.2456, allocations: 28 kB / 0.7039 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006486/0.2462, allocations: 346.2 kB / 0.7042 GB, free: 12.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006628/0.2469, allocations: 368 kB / 0.7046 GB, free: 12.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001114/0.248, allocations: 0.5549 MB / 0.7051 GB, free: 11.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.248, allocations: 0 / 0.7051 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001382/0.2494, allocations: 0.6788 MB / 0.7058 GB, free: 10.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2494, allocations: 15.92 kB / 0.7058 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2495, allocations: 4 kB / 0.7058 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.2495, allocations: 8 kB / 0.7058 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.2501, allocations: 151.8 kB / 0.7059 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.2501, allocations: 15.92 kB / 0.706 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.2507, allocations: 79.75 kB / 0.706 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.2508, allocations: 27.98 kB / 0.7061 GB, free: 10.55 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.0001968/0.251, allocations: 216.1 kB / 0.7063 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.2511, allocations: 59.25 kB / 0.7063 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.2526, allocations: 0.645 MB / 0.7069 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2527, allocations: 11.92 kB / 0.707 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2527, allocations: 0 / 0.707 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.253, allocations: 196 kB / 0.7071 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.2531, allocations: 8 kB / 0.7072 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.2535, allocations: 27.97 kB / 0.7072 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.2536, allocations: 32.33 kB / 0.7072 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001623/0.2552, allocations: 0.6626 MB / 0.7079 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001738/0.257, allocations: 0.9656 MB / 0.7088 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004991/0.2575, allocations: 237 kB / 0.709 GB, free: 7.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004701/0.2579, allocations: 411 kB / 0.7094 GB, free: 7.047 MB / 0.545 GB Notification: Performance of Backend: time 3.61e-07/0.258, allocations: 0 / 0.7094 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002702/0.2607, allocations: 0.931 MB / 0.7103 GB, free: 6.129 MB / 0.545 GB Notification: Performance of SimCode: time 0.002646/0.2633, allocations: 1.605 MB / 0.7119 GB, free: 4.484 MB / 0.545 GB Notification: Performance of Templates: time 0.02782/0.2912, allocations: 14.4 MB / 0.726 GB, free: 6.242 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)