Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 114.8 kB / 16.42 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.001306/0.001306, allocations: 183.9 kB / 17.34 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.481/1.481, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8655/0.8655, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.48 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1906, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02282/0.2134, allocations: 17.47 MB / 0.6824 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008287/0.2218, allocations: 4.918 MB / 0.6872 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008279/0.2227, allocations: 15.94 kB / 0.6872 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2239, allocations: 258.4 kB / 0.6874 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.2259, allocations: 0.6336 MB / 0.6881 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.2281, allocations: 0.7258 MB / 0.6888 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.2296, allocations: 0.9819 MB / 0.6897 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000666/0.2303, allocations: 328.9 kB / 0.69 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.2313, allocations: 422.3 kB / 0.6904 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000605/0.2319, allocations: 314.6 kB / 0.6907 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.232, allocations: 28 kB / 0.6908 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2335, allocations: 0.7253 MB / 0.6915 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.2337, allocations: 139.5 kB / 0.6916 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.2341, allocations: 238.7 kB / 0.6918 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.2356, allocations: 0.8989 MB / 0.6927 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2356, allocations: 0 / 0.6927 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2356, allocations: 0 / 0.6927 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.2357, allocations: 0 / 0.6927 GB, free: 9.656 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001334/0.237, allocations: 0.8982 MB / 0.6936 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.237, allocations: 9.109 kB / 0.6936 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.2372, allocations: 64.56 kB / 0.6937 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.238, allocations: 469.3 kB / 0.6941 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.238, allocations: 20.56 kB / 0.6941 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2381, allocations: 32 kB / 0.6942 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.2386, allocations: 282.2 kB / 0.6944 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2386, allocations: 4 kB / 0.6944 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.2386, allocations: 8 kB / 0.6944 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2386, allocations: 11.98 kB / 0.6944 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.2391, allocations: 190.1 kB / 0.6946 GB, free: 7.582 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.002117/0.2412, allocations: 1.48 MB / 0.6961 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.2415, allocations: 166.7 kB / 0.6962 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2417, allocations: 92.73 kB / 0.6963 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.2434, allocations: 1.272 MB / 0.6976 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2435, allocations: 34.56 kB / 0.6976 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.2435, allocations: 0 / 0.6976 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006801/0.2442, allocations: 257.1 kB / 0.6978 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2442, allocations: 51.41 kB / 0.6979 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/0.245, allocations: 0.5848 MB / 0.6985 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.245, allocations: 33.7 kB / 0.6985 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.2452, allocations: 268.5 kB / 0.6988 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.2453, allocations: 51.59 kB / 0.6988 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.2454, allocations: 73.92 kB / 0.6989 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2456, allocations: 362.8 kB / 0.6992 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.2458, allocations: 77.94 kB / 0.6993 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.2461, allocations: 214.7 kB / 0.6995 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.2465, allocations: 233.4 kB / 0.6997 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2465, allocations: 0 / 0.6997 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006791/0.2472, allocations: 315 kB / 0.7 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.2473, allocations: 8 kB / 0.7 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2473, allocations: 4 kB / 0.7 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2473, allocations: 4.094 kB / 0.7 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.2476, allocations: 71.88 kB / 0.7001 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2476, allocations: 4 kB / 0.7001 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.248, allocations: 47.97 kB / 0.7002 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.248, allocations: 19.98 kB / 0.7002 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003248/0.2484, allocations: 216.6 kB / 0.7004 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002904/0.2487, allocations: 205.5 kB / 0.7006 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003868/0.2491, allocations: 235.5 kB / 0.7008 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.2491, allocations: 4 kB / 0.7008 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005905/0.2497, allocations: 309 kB / 0.7011 GB, free: 404 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2497, allocations: 11.94 kB / 0.7011 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2497, allocations: 4 kB / 0.7011 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.2497, allocations: 4 kB / 0.7011 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2499, allocations: 59.91 kB / 0.7012 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.25, allocations: 7.938 kB / 0.7012 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.2503, allocations: 44.06 kB / 0.7012 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.2504, allocations: 16 kB / 0.7012 GB, free: 256 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.2505, allocations: 196.2 kB / 0.7014 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.2506, allocations: 51.61 kB / 0.7015 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006668/0.2513, allocations: 261.8 kB / 0.7017 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2513, allocations: 3.984 kB / 0.7017 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2513, allocations: 0 / 0.7017 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.2515, allocations: 140.7 kB / 0.7019 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.2516, allocations: 4 kB / 0.7019 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.2517, allocations: 7.984 kB / 0.7019 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.2518, allocations: 19.92 kB / 0.7019 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004825/0.2523, allocations: 286.1 kB / 0.7022 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005197/0.2528, allocations: 408.8 kB / 0.7026 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002016/0.253, allocations: 73.67 kB / 0.7026 GB, free: 14.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004886/0.2535, allocations: 426.7 kB / 0.703 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Backend: time 3.8e-07/0.2536, allocations: 0 / 0.703 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002686/0.2562, allocations: 0.8904 MB / 0.7039 GB, free: 13.66 MB / 0.545 GB Notification: Performance of SimCode: time 0.002225/0.2585, allocations: 1.416 MB / 0.7053 GB, free: 12.2 MB / 0.545 GB Notification: Performance of Templates: time 0.03057/0.2891, allocations: 11.9 MB / 0.7169 GB, free: 428 kB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)