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.001241/0.001241, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.001308/0.001308, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.364/1.364, 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/package.mo): time 0.8235/0.8235, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.28 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.0232/0.1571, allocations: 22.31 MB / 0.6821 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00724/0.1644, allocations: 5.226 MB / 0.6872 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007046/0.1651, allocations: 23.88 kB / 0.6873 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008867/0.166, allocations: 329.8 kB / 0.6876 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1683, allocations: 0.9056 MB / 0.6885 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1701, allocations: 0.7213 MB / 0.6892 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001884/0.172, allocations: 1.495 MB / 0.6906 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000792/0.1728, allocations: 0.5222 MB / 0.6911 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.1739, allocations: 0.6498 MB / 0.6918 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.1747, allocations: 481.8 kB / 0.6922 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.1748, allocations: 56 kB / 0.6923 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1759, allocations: 0.6278 MB / 0.6929 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.1761, allocations: 155.3 kB / 0.693 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.1765, allocations: 366 kB / 0.6934 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.1779, allocations: 1.078 MB / 0.6945 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.178, allocations: 0 / 0.6945 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.552e-06/0.178, allocations: 4 kB / 0.6945 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.178, allocations: 0 / 0.6945 GB, free: 7.215 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.001888/0.1799, allocations: 1.077 MB / 0.6955 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1799, allocations: 12.03 kB / 0.6955 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.1801, allocations: 84.36 kB / 0.6956 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/0.181, allocations: 0.586 MB / 0.6962 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.181, allocations: 28.66 kB / 0.6962 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.1811, allocations: 36 kB / 0.6962 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.1817, allocations: 318 kB / 0.6965 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1817, allocations: 0 / 0.6965 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.1818, allocations: 8 kB / 0.6965 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.1818, allocations: 16.66 kB / 0.6966 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.1824, allocations: 262.4 kB / 0.6968 GB, free: 4.707 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.002437/0.1848, allocations: 1.565 MB / 0.6983 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1852, allocations: 184.5 kB / 0.6985 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1854, allocations: 96.8 kB / 0.6986 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003561/0.1858, allocations: 421.5 kB / 0.699 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.1858, allocations: 38.84 kB / 0.699 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.1858, allocations: 0 / 0.699 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0007753/0.1866, allocations: 337 kB / 0.6994 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1866, allocations: 55.41 kB / 0.6994 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/0.1874, allocations: 0.6449 MB / 0.7 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.1875, allocations: 33.7 kB / 0.7001 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1877, allocations: 304.8 kB / 0.7004 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.1878, allocations: 79.33 kB / 0.7004 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.1879, allocations: 98.06 kB / 0.7005 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1881, allocations: 378.7 kB / 0.7009 GB, free: 228 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.1884, allocations: 138.5 kB / 0.701 GB, free: 88 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.1888, allocations: 206.3 kB / 0.7012 GB, free: 15.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.1893, allocations: 294.2 kB / 0.7015 GB, free: 15.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1893, allocations: 0 / 0.7015 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008175/0.1902, allocations: 456.9 kB / 0.7019 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1902, allocations: 8 kB / 0.702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1902, allocations: 0 / 0.702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1902, allocations: 4 kB / 0.702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.191, allocations: 147.9 kB / 0.7021 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006397/0.1917, allocations: 1.18 MB / 0.7033 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.1922, allocations: 55.89 kB / 0.7033 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.1922, allocations: 16 kB / 0.7033 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004165/0.1926, allocations: 272.9 kB / 0.7036 GB, free: 13.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003193/0.193, allocations: 206.2 kB / 0.7038 GB, free: 13.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000489/0.1935, allocations: 281.5 kB / 0.704 GB, free: 12.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1935, allocations: 3.938 kB / 0.7041 GB, free: 12.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.000784/0.1943, allocations: 444.9 kB / 0.7045 GB, free: 12.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1943, allocations: 9.469 kB / 0.7045 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1943, allocations: 7.938 kB / 0.7045 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-06/0.1943, allocations: 0 / 0.7045 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.1948, allocations: 107.9 kB / 0.7046 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1948, allocations: 4 kB / 0.7046 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.1952, allocations: 39.81 kB / 0.7046 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.1952, allocations: 19.98 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.0001525/0.1954, allocations: 208.3 kB / 0.7049 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.1955, allocations: 67.52 kB / 0.7049 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.1962, allocations: 322.2 kB / 0.7052 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1962, allocations: 0 / 0.7052 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1962, allocations: 12 kB / 0.7052 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.1964, allocations: 168.6 kB / 0.7054 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.1965, allocations: 7.938 kB / 0.7054 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.1968, allocations: 15.98 kB / 0.7054 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.1969, allocations: 15.97 kB / 0.7054 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008329/0.1978, allocations: 394.4 kB / 0.7058 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008413/0.1986, allocations: 0.5997 MB / 0.7064 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002267/0.1988, allocations: 116 kB / 0.7065 GB, free: 10.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005237/0.1994, allocations: 447 kB / 0.7069 GB, free: 9.848 MB / 0.545 GB Notification: Performance of Backend: time 4.51e-07/0.1994, allocations: 4 kB / 0.7069 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.2014, allocations: 0.6957 MB / 0.7076 GB, free: 9.148 MB / 0.545 GB Notification: Performance of SimCode: time 0.002591/0.204, allocations: 1.652 MB / 0.7092 GB, free: 7.461 MB / 0.545 GB Notification: Performance of Templates: time 0.02123/0.2253, allocations: 13.01 MB / 0.7219 GB, free: 10.61 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)