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.001115/0.001115, allocations: 111.9 kB / 16.42 MB, free: 6.457 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.001153/0.001153, 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7547/0.7547, allocations: 135.1 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 64.19 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02195/0.1661, allocations: 19.44 MB / 0.6843 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007254/0.1734, allocations: 5.152 MB / 0.6893 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/0.1742, allocations: 23.81 kB / 0.6893 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008466/0.175, allocations: 270 kB / 0.6896 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1772, allocations: 0.8105 MB / 0.6904 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.1792, allocations: 0.8739 MB / 0.6912 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.181, allocations: 1.56 MB / 0.6928 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.1817, allocations: 0.5055 MB / 0.6933 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009681/0.1827, allocations: 0.6382 MB / 0.6939 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.1833, allocations: 0.5406 MB / 0.6944 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/0.1834, allocations: 56 kB / 0.6945 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.1846, allocations: 0.6979 MB / 0.6952 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.1848, allocations: 163.4 kB / 0.6953 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.1851, allocations: 374 kB / 0.6957 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.1864, allocations: 1.106 MB / 0.6967 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1864, allocations: 0 / 0.6967 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1864, allocations: 0 / 0.6967 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.1864, allocations: 4 kB / 0.6967 GB, free: 5.484 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.00177/0.1882, allocations: 1.102 MB / 0.6978 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1883, allocations: 9.109 kB / 0.6978 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1884, allocations: 83.91 kB / 0.6979 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.1892, allocations: 0.5141 MB / 0.6984 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1893, allocations: 37 kB / 0.6984 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.1894, allocations: 55.94 kB / 0.6985 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1904, allocations: 0.6255 MB / 0.6991 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1904, allocations: 0 / 0.6991 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.1904, allocations: 20 kB / 0.6991 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.1905, allocations: 15.94 kB / 0.6991 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.1915, allocations: 491.4 kB / 0.6996 GB, free: 2.391 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.003275/0.1948, allocations: 3.208 MB / 0.7027 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.1955, allocations: 337.1 kB / 0.7031 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.1959, allocations: 236.7 kB / 0.7033 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.1963, allocations: 348.2 kB / 0.7036 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1963, allocations: 34.5 kB / 0.7037 GB, free: 13.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=38): time 3.056e-06/0.1963, allocations: 0 / 0.7037 GB, free: 13.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=38): time 0.002065/0.1984, allocations: 0.8044 MB / 0.7044 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.1984, allocations: 59.16 kB / 0.7045 GB, free: 13.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.199, allocations: 0.5901 MB / 0.7051 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.1991, allocations: 29.7 kB / 0.7051 GB, free: 12.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1993, allocations: 332.4 kB / 0.7054 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.1994, allocations: 126.1 kB / 0.7055 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1996, allocations: 130.2 kB / 0.7057 GB, free: 11.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1997, allocations: 374.6 kB / 0.706 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.2002, allocations: 231.3 kB / 0.7062 GB, free: 11.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.2008, allocations: 368 kB / 0.7066 GB, free: 10.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2018, allocations: 0.5665 MB / 0.7072 GB, free: 10.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2019, allocations: 7.938 kB / 0.7072 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001371/0.2032, allocations: 0.7144 MB / 0.7079 GB, free: 9.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2033, allocations: 8.562 kB / 0.7079 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2033, allocations: 8 kB / 0.7079 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/0.2039, allocations: 132.8 kB / 0.708 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.2044, allocations: 143.7 kB / 0.7081 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005685/0.205, allocations: 0.6227 MB / 0.7087 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.2055, allocations: 79.28 kB / 0.7088 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.2056, allocations: 35.98 kB / 0.7089 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006277/0.2062, allocations: 345.3 kB / 0.7092 GB, free: 8.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005755/0.2068, allocations: 364.1 kB / 0.7095 GB, free: 7.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009993/0.2078, allocations: 0.5626 MB / 0.7101 GB, free: 7.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.07e-06/0.2078, allocations: 4 kB / 0.7101 GB, free: 7.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001279/0.2091, allocations: 0.6746 MB / 0.7107 GB, free: 6.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2092, allocations: 8 kB / 0.7108 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2092, allocations: 4 kB / 0.7108 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.2092, allocations: 8 kB / 0.7108 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.2097, allocations: 155.8 kB / 0.7109 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2098, allocations: 12.31 kB / 0.7109 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.2103, allocations: 75.53 kB / 0.711 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.2103, allocations: 27.98 kB / 0.711 GB, free: 6.039 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.0001857/0.2105, allocations: 212.1 kB / 0.7112 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2106, allocations: 67.14 kB / 0.7113 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.212, allocations: 0.65 MB / 0.7119 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2121, allocations: 3.938 kB / 0.7119 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2121, allocations: 0 / 0.7119 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.2123, allocations: 196 kB / 0.7121 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.2124, allocations: 8 kB / 0.7121 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.2128, allocations: 31.95 kB / 0.7122 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.2129, allocations: 32.33 kB / 0.7122 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001508/0.2144, allocations: 0.6513 MB / 0.7128 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001643/0.216, allocations: 0.9698 MB / 0.7138 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004775/0.2165, allocations: 240.2 kB / 0.714 GB, free: 2.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004371/0.217, allocations: 399.1 kB / 0.7144 GB, free: 2.547 MB / 0.545 GB Notification: Performance of Backend: time 5.61e-07/0.217, allocations: 0 / 0.7144 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00248/0.2195, allocations: 0.938 MB / 0.7153 GB, free: 1.613 MB / 0.545 GB Notification: Performance of SimCode: time 0.002297/0.2218, allocations: 1.608 MB / 0.7169 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.02386/0.2457, allocations: 14.4 MB / 0.7309 GB, free: 1.711 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)