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.00781/0.007811, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001435/0.001435, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8333/0.8333, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.45 kB / 0.5813 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02116/0.186, allocations: 22.32 MB / 0.6815 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007359/0.1934, allocations: 5.226 MB / 0.6866 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/0.1942, allocations: 23.81 kB / 0.6866 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009897/0.1952, allocations: 321.8 kB / 0.6869 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.1977, allocations: 0.9134 MB / 0.6878 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.1995, allocations: 0.7248 MB / 0.6885 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.2014, allocations: 1.491 MB / 0.69 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008281/0.2022, allocations: 0.53 MB / 0.6905 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.2035, allocations: 0.6459 MB / 0.6911 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.2043, allocations: 485.8 kB / 0.6916 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.2045, allocations: 52 kB / 0.6916 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.2057, allocations: 0.6356 MB / 0.6922 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.206, allocations: 155.3 kB / 0.6924 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005172/0.2065, allocations: 358.1 kB / 0.6927 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.208, allocations: 1.071 MB / 0.6938 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.208, allocations: 7.938 kB / 0.6938 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.208, allocations: 0 / 0.6938 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.233e-05/0.2081, allocations: 0 / 0.6938 GB, free: 7.203 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.002059/0.2102, allocations: 1.054 MB / 0.6948 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2102, allocations: 8.031 kB / 0.6948 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2104, allocations: 80 kB / 0.6949 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.2113, allocations: 0.5737 MB / 0.6955 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.2113, allocations: 28.66 kB / 0.6955 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/0.2114, allocations: 44 kB / 0.6955 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.212, allocations: 310 kB / 0.6958 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2121, allocations: 0 / 0.6958 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.2121, allocations: 12 kB / 0.6958 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.2121, allocations: 12.66 kB / 0.6958 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.2127, allocations: 258.5 kB / 0.6961 GB, free: 4.742 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.002473/0.2152, allocations: 1.569 MB / 0.6976 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.2156, allocations: 186.4 kB / 0.6978 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.2158, allocations: 96.8 kB / 0.6979 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.2162, allocations: 417.5 kB / 0.6983 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2162, allocations: 42.5 kB / 0.6983 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.2162, allocations: 4 kB / 0.6983 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.0008015/0.217, allocations: 327.3 kB / 0.6986 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2171, allocations: 51.41 kB / 0.6987 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.2179, allocations: 0.6487 MB / 0.6993 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.2179, allocations: 33.7 kB / 0.6994 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.2181, allocations: 300.4 kB / 0.6996 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.2182, allocations: 78.94 kB / 0.6997 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.2184, allocations: 102 kB / 0.6998 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2185, allocations: 374.7 kB / 0.7002 GB, free: 268 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2188, allocations: 138.5 kB / 0.7003 GB, free: 128 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.2192, allocations: 206.4 kB / 0.7005 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/0.2197, allocations: 286.2 kB / 0.7008 GB, free: 15.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2197, allocations: 0 / 0.7008 GB, free: 15.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008217/0.2205, allocations: 464.5 kB / 0.7012 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2206, allocations: 4 kB / 0.7012 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2206, allocations: 4 kB / 0.7012 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2206, allocations: 0 / 0.7012 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/0.2214, allocations: 139.8 kB / 0.7014 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006464/0.2221, allocations: 1.188 MB / 0.7025 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.2225, allocations: 55.66 kB / 0.7026 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.234e-05/0.2226, allocations: 16 kB / 0.7026 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004194/0.223, allocations: 285.1 kB / 0.7029 GB, free: 13.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003106/0.2233, allocations: 194.3 kB / 0.703 GB, free: 13.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004936/0.2238, allocations: 289.4 kB / 0.7033 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.2239, allocations: 0 / 0.7033 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0007748/0.2246, allocations: 444.6 kB / 0.7037 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2247, allocations: 10.03 kB / 0.7038 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2247, allocations: 0 / 0.7038 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.2247, allocations: 4 kB / 0.7038 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.2251, allocations: 115.9 kB / 0.7039 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2252, allocations: 4 kB / 0.7039 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.2256, allocations: 39.75 kB / 0.7039 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.2256, allocations: 15.98 kB / 0.7039 GB, free: 12.28 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.000135/0.2258, allocations: 204.1 kB / 0.7041 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2259, allocations: 63.19 kB / 0.7042 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.2265, allocations: 323.1 kB / 0.7045 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2265, allocations: 4 kB / 0.7045 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2265, allocations: 0 / 0.7045 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2266, allocations: 0 / 0.7045 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.2278, allocations: 0.9032 MB / 0.7054 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2278, allocations: 0 / 0.7054 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.2281, allocations: 59.89 kB / 0.7054 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2281, allocations: 4 kB / 0.7054 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.2281, allocations: 11.94 kB / 0.7055 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005249/0.2286, allocations: 1.18 MB / 0.7066 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2287, allocations: 3.938 kB / 0.7066 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.2294, allocations: 0.5094 MB / 0.7071 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.2296, allocations: 176.4 kB / 0.7073 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/0.2297, allocations: 4 kB / 0.7073 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.23, allocations: 28.02 kB / 0.7073 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.2301, allocations: 15.92 kB / 0.7073 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2301, allocations: 12 kB / 0.7073 GB, free: 8.617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005379/0.2307, allocations: 455 kB / 0.7078 GB, free: 8.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2307, allocations: 0 / 0.7078 GB, free: 8.176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007701/0.2314, allocations: 287.5 kB / 0.708 GB, free: 7.895 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.000519/0.232, allocations: 246.3 kB / 0.7083 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.2334, allocations: 0.5279 MB / 0.7088 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2335, allocations: 4 kB / 0.7088 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.2338, allocations: 133.6 kB / 0.7089 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.2351, allocations: 276.8 kB / 0.7092 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2367, allocations: 1.007 MB / 0.7102 GB, free: 5.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.2371, allocations: 0.8903 MB / 0.711 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004136/0.2375, allocations: 126.3 kB / 0.7112 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2376, allocations: 39.44 kB / 0.7112 GB, free: 4.613 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2377, allocations: 0 / 0.7112 GB, free: 4.613 MB / 0.545 GB Notification: Performance of Templates: time 0.01949/0.2572, allocations: 11.23 MB / 0.7222 GB, free: 9.562 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)