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.00133/0.00133, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001423/0.001423, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8062/0.8062, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.47 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1953, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02084/0.2162, allocations: 19.45 MB / 0.6793 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007278/0.2235, allocations: 5.139 MB / 0.6843 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.2244, allocations: 19.88 kB / 0.6844 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007965/0.2252, allocations: 270 kB / 0.6846 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.2271, allocations: 0.7691 MB / 0.6854 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.2291, allocations: 0.8829 MB / 0.6862 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.2309, allocations: 1.56 MB / 0.6878 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.2317, allocations: 0.5016 MB / 0.6882 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.2327, allocations: 0.6382 MB / 0.6889 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006554/0.2334, allocations: 0.5406 MB / 0.6894 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.2335, allocations: 56 kB / 0.6895 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.2348, allocations: 0.6979 MB / 0.6901 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.235, allocations: 155.4 kB / 0.6903 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.2354, allocations: 385.9 kB / 0.6907 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.2367, allocations: 1.102 MB / 0.6917 GB, free: 10 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2367, allocations: 0 / 0.6917 GB, free: 10 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2368, allocations: 0 / 0.6917 GB, free: 10 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.2368, allocations: 4 kB / 0.6917 GB, free: 9.996 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.001871/0.2386, allocations: 1.102 MB / 0.6928 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2387, allocations: 8.031 kB / 0.6928 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.2389, allocations: 83.91 kB / 0.6929 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.2397, allocations: 0.5219 MB / 0.6934 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.2397, allocations: 37 kB / 0.6934 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.2398, allocations: 48 kB / 0.6935 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2408, allocations: 0.6254 MB / 0.6941 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2408, allocations: 0 / 0.6941 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.2409, allocations: 24 kB / 0.6941 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.2409, allocations: 12 kB / 0.6941 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.242, allocations: 499.4 kB / 0.6946 GB, free: 6.891 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.003381/0.2454, allocations: 3.197 MB / 0.6977 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/0.2461, allocations: 342.8 kB / 0.6981 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.2465, allocations: 232.7 kB / 0.6983 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.2469, allocations: 340.4 kB / 0.6986 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.2469, allocations: 42.55 kB / 0.6986 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 1.944e-06/0.2469, allocations: 0 / 0.6986 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.002153/0.2491, allocations: 0.8081 MB / 0.6994 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.2491, allocations: 55.41 kB / 0.6995 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/0.2498, allocations: 0.5823 MB / 0.7001 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.2498, allocations: 33.7 kB / 0.7001 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.2501, allocations: 328.4 kB / 0.7004 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.527e-05/0.2502, allocations: 138.1 kB / 0.7005 GB, free: 484 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.2504, allocations: 122.2 kB / 0.7006 GB, free: 356 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2505, allocations: 378.7 kB / 0.701 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.2511, allocations: 227.3 kB / 0.7012 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.2517, allocations: 368 kB / 0.7016 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2528, allocations: 0.5704 MB / 0.7021 GB, free: 14.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.2528, allocations: 0 / 0.7021 GB, free: 14.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001485/0.2543, allocations: 0.7182 MB / 0.7028 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2543, allocations: 8.562 kB / 0.7028 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2543, allocations: 8 kB / 0.7029 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.255, allocations: 140.8 kB / 0.703 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.2555, allocations: 135.7 kB / 0.7031 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005764/0.2561, allocations: 0.6226 MB / 0.7037 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.2567, allocations: 83.23 kB / 0.7038 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.2568, allocations: 31.98 kB / 0.7038 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006572/0.2574, allocations: 350.2 kB / 0.7042 GB, free: 12.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005911/0.258, allocations: 372 kB / 0.7045 GB, free: 12.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001036/0.2591, allocations: 0.5471 MB / 0.7051 GB, free: 11.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.2591, allocations: 11.94 kB / 0.7051 GB, free: 11.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.00137/0.2605, allocations: 0.6747 MB / 0.7057 GB, free: 10.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2605, allocations: 8 kB / 0.7057 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2605, allocations: 4 kB / 0.7057 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.2605, allocations: 8 kB / 0.7057 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.2612, allocations: 155.7 kB / 0.7059 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.2612, allocations: 12.39 kB / 0.7059 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.2618, allocations: 67.5 kB / 0.706 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.2618, allocations: 35.98 kB / 0.706 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.0002149/0.262, allocations: 212.1 kB / 0.7062 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.2622, allocations: 59.25 kB / 0.7063 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.2637, allocations: 0.6486 MB / 0.7069 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.2638, allocations: 4 kB / 0.7069 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2638, allocations: 0 / 0.7069 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.2638, allocations: 3.984 kB / 0.7069 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.2664, allocations: 1.365 MB / 0.7082 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.2664, allocations: 3.984 kB / 0.7082 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.2668, allocations: 83.89 kB / 0.7083 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.2671, allocations: 108.9 kB / 0.7084 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.2672, allocations: 19.98 kB / 0.7084 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006357/0.2679, allocations: 0.6264 MB / 0.7091 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2679, allocations: 0 / 0.7091 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.2693, allocations: 0.7058 MB / 0.7097 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.2696, allocations: 188.1 kB / 0.7099 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.2697, allocations: 12 kB / 0.7099 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.2701, allocations: 31.97 kB / 0.71 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.2702, allocations: 31.95 kB / 0.71 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.2703, allocations: 19.98 kB / 0.71 GB, free: 6.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004937/0.2708, allocations: 407.1 kB / 0.7104 GB, free: 5.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2708, allocations: 3.938 kB / 0.7104 GB, free: 5.887 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001176/0.272, allocations: 391.3 kB / 0.7108 GB, free: 5.504 MB / 0.545 GB 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.0007618/0.2727, allocations: 300.3 kB / 0.7111 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.2748, allocations: 0.8696 MB / 0.7119 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2749, allocations: 0 / 0.7119 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.2756, allocations: 281.3 kB / 0.7122 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.2769, allocations: 224.8 kB / 0.7124 GB, free: 3.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.2789, allocations: 1.111 MB / 0.7135 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.2794, allocations: 0.9038 MB / 0.7144 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.2796, allocations: 67.41 kB / 0.7144 GB, free: 1.711 MB / 0.545 GB Notification: Performance of SimCode: time 2.014e-06/0.2796, allocations: 0 / 0.7144 GB, free: 1.711 MB / 0.545 GB Notification: Performance of Templates: time 0.01906/0.2987, allocations: 13.03 MB / 0.7272 GB, free: 4.789 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)