Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 109 kB / 16.41 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.001062/0.001062, allocations: 188.3 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8158/0.8158, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.28 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02434/0.1667, allocations: 22.32 MB / 0.6821 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007431/0.1742, allocations: 5.23 MB / 0.6872 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.1748, allocations: 23.81 kB / 0.6873 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007869/0.1756, allocations: 321.8 kB / 0.6876 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.1777, allocations: 0.9113 MB / 0.6885 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.1793, allocations: 0.7171 MB / 0.6892 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.181, allocations: 1.499 MB / 0.6906 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000695/0.1818, allocations: 0.5184 MB / 0.6911 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.1828, allocations: 0.6458 MB / 0.6918 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/0.1835, allocations: 489.8 kB / 0.6922 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.913e-05/0.1836, allocations: 56 kB / 0.6923 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1847, allocations: 0.6317 MB / 0.6929 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.1849, allocations: 155.3 kB / 0.6931 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.1853, allocations: 362.1 kB / 0.6934 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.1866, allocations: 1.07 MB / 0.6944 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1866, allocations: 3.984 kB / 0.6944 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1866, allocations: 0 / 0.6944 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.1866, allocations: 0 / 0.6944 GB, free: 7.227 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001714/0.1883, allocations: 1.077 MB / 0.6955 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1884, allocations: 19.95 kB / 0.6955 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1885, allocations: 84.42 kB / 0.6956 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.1894, allocations: 0.5821 MB / 0.6962 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1894, allocations: 28.66 kB / 0.6962 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.1895, allocations: 39.98 kB / 0.6962 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.1901, allocations: 310 kB / 0.6965 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1901, allocations: 0 / 0.6965 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.1901, allocations: 12 kB / 0.6965 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.1902, allocations: 20.62 kB / 0.6966 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.1907, allocations: 258.5 kB / 0.6968 GB, free: 4.715 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.002425/0.1932, allocations: 1.565 MB / 0.6983 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.1935, allocations: 182.5 kB / 0.6985 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.1937, allocations: 96.8 kB / 0.6986 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000352/0.1941, allocations: 425.4 kB / 0.699 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1942, allocations: 34.84 kB / 0.699 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1942, allocations: 4 kB / 0.699 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007659/0.1949, allocations: 335.3 kB / 0.6994 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.195, allocations: 59.39 kB / 0.6994 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007901/0.1958, allocations: 0.641 MB / 0.7 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1958, allocations: 33.7 kB / 0.7001 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.1961, allocations: 300.8 kB / 0.7004 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.1961, allocations: 83.31 kB / 0.7004 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.1963, allocations: 102.1 kB / 0.7005 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1964, allocations: 374.7 kB / 0.7009 GB, free: 236 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.1967, allocations: 138.5 kB / 0.701 GB, free: 96 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1971, allocations: 210.3 kB / 0.7012 GB, free: 15.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.1977, allocations: 290.2 kB / 0.7015 GB, free: 15.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1977, allocations: 0 / 0.7015 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008296/0.1985, allocations: 460.9 kB / 0.7019 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1985, allocations: 8 kB / 0.702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1986, allocations: 0 / 0.702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1986, allocations: 4 kB / 0.702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.1995, allocations: 139.8 kB / 0.7021 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007075/0.2002, allocations: 1.188 MB / 0.7033 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.2006, allocations: 51.7 kB / 0.7033 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.2007, allocations: 16 kB / 0.7033 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004327/0.2011, allocations: 277.1 kB / 0.7036 GB, free: 13.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003512/0.2015, allocations: 206.2 kB / 0.7038 GB, free: 13.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005099/0.202, allocations: 277.6 kB / 0.704 GB, free: 12.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.202, allocations: 0 / 0.704 GB, free: 12.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007898/0.2028, allocations: 448.8 kB / 0.7045 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.2028, allocations: 5.562 kB / 0.7045 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2028, allocations: 8 kB / 0.7045 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.2029, allocations: 0 / 0.7045 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.2034, allocations: 115.9 kB / 0.7046 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2034, allocations: 4 kB / 0.7046 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.2038, allocations: 43.81 kB / 0.7046 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.2038, allocations: 16 kB / 0.7047 GB, free: 12.24 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.204, allocations: 208.1 kB / 0.7049 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.2041, allocations: 67.52 kB / 0.7049 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.2048, allocations: 314.1 kB / 0.7052 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2048, allocations: 4 kB / 0.7052 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2048, allocations: 0 / 0.7052 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.205, allocations: 172.6 kB / 0.7054 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.2051, allocations: 11.94 kB / 0.7054 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.2054, allocations: 15.98 kB / 0.7054 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2054, allocations: 16.16 kB / 0.7054 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008513/0.2063, allocations: 390.4 kB / 0.7058 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008547/0.2071, allocations: 0.6072 MB / 0.7064 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002422/0.2074, allocations: 108 kB / 0.7065 GB, free: 10.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000549/0.208, allocations: 451 kB / 0.7069 GB, free: 9.859 MB / 0.545 GB Notification: Performance of Backend: time 7.01e-07/0.208, allocations: 7.938 kB / 0.7069 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.21, allocations: 0.6985 MB / 0.7076 GB, free: 9.16 MB / 0.545 GB Notification: Performance of SimCode: time 0.002282/0.2123, allocations: 1.638 MB / 0.7092 GB, free: 7.48 MB / 0.545 GB Notification: Performance of Templates: time 0.02175/0.2341, allocations: 13.02 MB / 0.7219 GB, free: 10.62 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)