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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7815/0.7815, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 222.9 MB / 403.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009727/0.0009726, allocations: 109.6 kB / 484.4 MB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 55.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1514, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02437/0.1758, allocations: 22.23 MB / 0.6619 GB, free: 484 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.1828, allocations: 5.253 MB / 0.667 GB, free: 11.2 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.1836, allocations: 19.88 kB / 0.667 GB, free: 11.18 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.1846, allocations: 254.4 kB / 0.6673 GB, free: 10.93 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.1871, allocations: 0.7866 MB / 0.668 GB, free: 10.14 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.189, allocations: 0.6512 MB / 0.6687 GB, free: 9.496 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.1911, allocations: 1.88 MB / 0.6705 GB, free: 7.613 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.1917, allocations: 450.2 kB / 0.6709 GB, free: 7.16 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.1927, allocations: 0.5833 MB / 0.6715 GB, free: 6.574 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006281/0.1933, allocations: 477.8 kB / 0.672 GB, free: 6.105 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.1934, allocations: 28 kB / 0.672 GB, free: 6.078 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1945, allocations: 0.5847 MB / 0.6726 GB, free: 5.492 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1946, allocations: 131.4 kB / 0.6727 GB, free: 5.363 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.195, allocations: 338 kB / 0.673 GB, free: 5.031 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1962, allocations: 1.012 MB / 0.674 GB, free: 4.016 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1962, allocations: 0 / 0.674 GB, free: 4.016 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.1962, allocations: 0 / 0.674 GB, free: 4.016 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1962, allocations: 7.875 kB / 0.674 GB, free: 4.008 MB / 474.7 MB 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.001727/0.1979, allocations: 1.055 MB / 0.675 GB, free: 2.902 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.198, allocations: 8.031 kB / 0.675 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1981, allocations: 80 kB / 0.6751 GB, free: 2.816 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.1989, allocations: 0.5621 MB / 0.6757 GB, free: 2.215 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1989, allocations: 28.66 kB / 0.6757 GB, free: 2.188 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.199, allocations: 40 kB / 0.6757 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.1996, allocations: 314 kB / 0.676 GB, free: 1.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1996, allocations: 0 / 0.676 GB, free: 1.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1996, allocations: 12 kB / 0.6761 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.1996, allocations: 12.66 kB / 0.6761 GB, free: 1.812 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.2002, allocations: 254.5 kB / 0.6763 GB, free: 1.566 MB / 474.7 MB 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.002258/0.2024, allocations: 1.569 MB / 0.6778 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.2028, allocations: 190.4 kB / 0.678 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.203, allocations: 98.19 kB / 0.6781 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.2033, allocations: 417.5 kB / 0.6785 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.2033, allocations: 34.56 kB / 0.6785 GB, free: 15.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.2034, allocations: 0 / 0.6785 GB, free: 15.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007262/0.2041, allocations: 327.2 kB / 0.6789 GB, free: 14.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2041, allocations: 55.41 kB / 0.6789 GB, free: 14.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.2048, allocations: 0.6488 MB / 0.6795 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2049, allocations: 33.7 kB / 0.6796 GB, free: 13.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.2051, allocations: 304.3 kB / 0.6799 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.2052, allocations: 67 kB / 0.6799 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.2053, allocations: 106 kB / 0.68 GB, free: 13.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2054, allocations: 374.6 kB / 0.6804 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.2057, allocations: 138.5 kB / 0.6805 GB, free: 12.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.2061, allocations: 210.3 kB / 0.6807 GB, free: 12.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.2066, allocations: 297 kB / 0.681 GB, free: 12.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2066, allocations: 0 / 0.681 GB, free: 12.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007681/0.2074, allocations: 448.6 kB / 0.6814 GB, free: 11.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2074, allocations: 11.94 kB / 0.6814 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2074, allocations: 3.938 kB / 0.6814 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2074, allocations: 8.062 kB / 0.6815 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.2082, allocations: 139.9 kB / 0.6816 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006115/0.2089, allocations: 1.192 MB / 0.6827 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.2093, allocations: 55.56 kB / 0.6828 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.2094, allocations: 19.98 kB / 0.6828 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003917/0.2098, allocations: 272.9 kB / 0.6831 GB, free: 10.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003146/0.2101, allocations: 206.4 kB / 0.6833 GB, free: 10.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004787/0.2106, allocations: 285.3 kB / 0.6836 GB, free: 9.719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.2106, allocations: 0 / 0.6836 GB, free: 9.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.000734/0.2113, allocations: 432.6 kB / 0.684 GB, free: 9.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.2113, allocations: 8 kB / 0.684 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.2113, allocations: 0 / 0.684 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.2114, allocations: 4 kB / 0.684 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.2118, allocations: 115.8 kB / 0.6841 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2118, allocations: 8.062 kB / 0.6841 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.2122, allocations: 51.66 kB / 0.6841 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.2123, allocations: 19.98 kB / 0.6842 GB, free: 9.086 MB / 490.7 MB 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.0001209/0.2124, allocations: 205.6 kB / 0.6844 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.2125, allocations: 59.25 kB / 0.6844 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.2132, allocations: 325 kB / 0.6847 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2132, allocations: 7.938 kB / 0.6847 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2132, allocations: 4 kB / 0.6847 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2132, allocations: 3.984 kB / 0.6847 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.2145, allocations: 0.8956 MB / 0.6856 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2145, allocations: 4 kB / 0.6856 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.2148, allocations: 68.06 kB / 0.6857 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2148, allocations: 0 / 0.6857 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.2149, allocations: 11.94 kB / 0.6857 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006476/0.2155, allocations: 1.18 MB / 0.6868 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2155, allocations: 12.16 kB / 0.6869 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00718/0.2227, allocations: 2.739 MB / 0.6895 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.2229, allocations: 172.3 kB / 0.6897 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.223, allocations: 8 kB / 0.6897 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.2233, allocations: 23.97 kB / 0.6897 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.2234, allocations: 27.97 kB / 0.6898 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2234, allocations: 7.938 kB / 0.6898 GB, free: 3.047 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005249/0.2239, allocations: 451 kB / 0.6902 GB, free: 2.609 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.224, allocations: 0 / 0.6902 GB, free: 2.609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001088/0.2251, allocations: 403.5 kB / 0.6906 GB, free: 2.215 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0004483/0.2255, allocations: 256.8 kB / 0.6908 GB, free: 1.965 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.2268, allocations: 0.5123 MB / 0.6913 GB, free: 1.453 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2269, allocations: 256 / 0.6913 GB, free: 1.453 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.2272, allocations: 131.8 kB / 0.6914 GB, free: 1.324 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.2286, allocations: 290 kB / 0.6917 GB, free: 1.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2256/0.4543, allocations: 1.389 MB / 0.6931 GB, free: 59.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.4547, allocations: 0.8994 MB / 0.694 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006183/0.4553, allocations: 122.3 kB / 0.6941 GB, free: 58.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.4554, allocations: 50.62 kB / 0.6941 GB, free: 58.61 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4554, allocations: 0 / 0.6941 GB, free: 58.61 MB / 490.7 MB Notification: Performance of Templates: time 0.02265/0.4781, allocations: 11.25 MB / 0.7051 GB, free: 56.77 MB / 490.7 MB 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)