Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001662/0.001662, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001756/0.001756, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8482/0.8482, allocations: 135.2 MB / 426.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 66.98 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1585, allocations: 80.94 MB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02604/0.1846, allocations: 22.35 MB / 0.6872 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008163/0.1927, allocations: 5.242 MB / 0.6923 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008332/0.1936, allocations: 19.88 kB / 0.6923 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009755/0.1945, allocations: 329.8 kB / 0.6926 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.1972, allocations: 0.9051 MB / 0.6935 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.1992, allocations: 0.7224 MB / 0.6942 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.2018, allocations: 1.506 MB / 0.6957 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/0.2026, allocations: 438.8 kB / 0.6961 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.2041, allocations: 0.6575 MB / 0.6968 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007854/0.2049, allocations: 481.9 kB / 0.6972 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-05/0.205, allocations: 52 kB / 0.6973 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.2063, allocations: 0.6355 MB / 0.6979 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.2065, allocations: 155.3 kB / 0.698 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.207, allocations: 370 kB / 0.6984 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.2087, allocations: 1.074 MB / 0.6994 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2087, allocations: 0 / 0.6994 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2087, allocations: 0 / 0.6994 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.2087, allocations: 0 / 0.6994 GB, free: 2.68 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.002001/0.2107, allocations: 1.077 MB / 0.7005 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2108, allocations: 9.109 kB / 0.7005 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.211, allocations: 84.42 kB / 0.7006 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.212, allocations: 0.586 MB / 0.7012 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.212, allocations: 28.66 kB / 0.7012 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.2121, allocations: 43.98 kB / 0.7012 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.2127, allocations: 318 kB / 0.7015 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2128, allocations: 0 / 0.7015 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2128, allocations: 12 kB / 0.7015 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.2128, allocations: 12.66 kB / 0.7016 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.2134, allocations: 254.5 kB / 0.7018 GB, free: 176 kB / 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.002797/0.2162, allocations: 1.573 MB / 0.7033 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.2166, allocations: 178.5 kB / 0.7035 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.2168, allocations: 92.81 kB / 0.7036 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.2172, allocations: 413.5 kB / 0.704 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.2173, allocations: 38.55 kB / 0.704 GB, free: 13.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.124e-06/0.2173, allocations: 3.938 kB / 0.704 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.000915/0.2182, allocations: 335.5 kB / 0.7043 GB, free: 13.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2182, allocations: 55.41 kB / 0.7044 GB, free: 13.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009527/0.2192, allocations: 0.6527 MB / 0.705 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.2193, allocations: 29.7 kB / 0.7051 GB, free: 12.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.2195, allocations: 304.8 kB / 0.7054 GB, free: 12.26 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.2196, allocations: 75.31 kB / 0.7054 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.2198, allocations: 106.1 kB / 0.7055 GB, free: 12.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.22, allocations: 370.7 kB / 0.7059 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.2203, allocations: 138.5 kB / 0.706 GB, free: 11.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.2207, allocations: 214.3 kB / 0.7062 GB, free: 11.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.2213, allocations: 297 kB / 0.7065 GB, free: 11.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2213, allocations: 0 / 0.7065 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009395/0.2223, allocations: 445 kB / 0.7069 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2223, allocations: 7.984 kB / 0.7069 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2223, allocations: 4 kB / 0.7069 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2223, allocations: 8.062 kB / 0.7069 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.2232, allocations: 135.8 kB / 0.7071 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008869/0.2241, allocations: 1.192 MB / 0.7082 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2246, allocations: 47.75 kB / 0.7083 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.2246, allocations: 19.98 kB / 0.7083 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005191/0.2251, allocations: 272.9 kB / 0.7086 GB, free: 8.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003834/0.2255, allocations: 206.4 kB / 0.7088 GB, free: 8.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005584/0.2261, allocations: 277.4 kB / 0.709 GB, free: 8.352 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.2261, allocations: 0 / 0.709 GB, free: 8.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.000885/0.227, allocations: 444.9 kB / 0.7094 GB, free: 7.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.227, allocations: 8 kB / 0.7095 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.227, allocations: 0 / 0.7095 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.227, allocations: 4 kB / 0.7095 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.2275, allocations: 111.9 kB / 0.7096 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2275, allocations: 4 kB / 0.7096 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.2279, allocations: 39.81 kB / 0.7096 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.228, allocations: 20.06 kB / 0.7096 GB, free: 7.727 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.0001935/0.2282, allocations: 219.2 kB / 0.7098 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2283, allocations: 63.58 kB / 0.7099 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/0.2291, allocations: 313.5 kB / 0.7102 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.2291, allocations: 7.984 kB / 0.7102 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2291, allocations: 8.047 kB / 0.7102 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2291, allocations: 0 / 0.7102 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.2306, allocations: 0.9113 MB / 0.7111 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2306, allocations: 0 / 0.7111 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.2309, allocations: 47.97 kB / 0.7111 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.2309, allocations: 4 kB / 0.7111 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.231, allocations: 11.94 kB / 0.7112 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007733/0.2317, allocations: 1.184 MB / 0.7123 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.2317, allocations: 3.938 kB / 0.7123 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.2327, allocations: 0.5179 MB / 0.7128 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.2329, allocations: 176.6 kB / 0.713 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.233, allocations: 0 / 0.713 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.2333, allocations: 15.98 kB / 0.713 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.2334, allocations: 19.89 kB / 0.713 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.2334, allocations: 11.98 kB / 0.713 GB, free: 4.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006663/0.2341, allocations: 455.1 kB / 0.7135 GB, free: 3.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2341, allocations: 0 / 0.7135 GB, free: 3.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009658/0.235, allocations: 303.4 kB / 0.7138 GB, free: 3.309 MB / 0.545 GB 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.0006252/0.2357, allocations: 248.3 kB / 0.714 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.2372, allocations: 0.5082 MB / 0.7145 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2372, allocations: 0 / 0.7145 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.2376, allocations: 120.3 kB / 0.7146 GB, free: 2.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.239, allocations: 270.6 kB / 0.7149 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.2409, allocations: 1.067 MB / 0.7159 GB, free: 1.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.2415, allocations: 0.8864 MB / 0.7168 GB, free: 156 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2416, allocations: 51.42 kB / 0.7168 GB, free: 104 kB / 0.545 GB Notification: Performance of SimCode: time 1.173e-06/0.2416, allocations: 4 kB / 0.7168 GB, free: 100 kB / 0.545 GB Notification: Performance of Templates: time 0.0222/0.2638, allocations: 14.99 MB / 0.7315 GB, free: 1.184 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.pipe 2>&1)