Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 109.3 kB / 16.41 MB, free: 6.008 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.001124/0.001124, allocations: 184.3 kB / 17.34 MB, free: 5.629 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 / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.05 kB / 0.582 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1514, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02247/0.1739, allocations: 17.45 MB / 0.6774 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007825/0.1818, allocations: 4.921 MB / 0.6822 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007636/0.1826, allocations: 15.94 kB / 0.6822 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.1837, allocations: 246.4 kB / 0.6824 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.1857, allocations: 0.618 MB / 0.683 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.188, allocations: 0.7249 MB / 0.6837 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1896, allocations: 0.9702 MB / 0.6847 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007391/0.1904, allocations: 336.9 kB / 0.685 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1915, allocations: 430.2 kB / 0.6854 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000653/0.1922, allocations: 302.7 kB / 0.6857 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.1923, allocations: 32 kB / 0.6857 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.1939, allocations: 0.7331 MB / 0.6865 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.1941, allocations: 135.5 kB / 0.6866 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.1945, allocations: 242.7 kB / 0.6868 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.1963, allocations: 0.8879 MB / 0.6877 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1963, allocations: 0 / 0.6877 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1963, allocations: 0 / 0.6877 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.1963, allocations: 0 / 0.6877 GB, free: 14.17 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001638/0.198, allocations: 0.8852 MB / 0.6886 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.198, allocations: 12.03 kB / 0.6886 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.1983, allocations: 60.27 kB / 0.6886 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008557/0.1992, allocations: 460.8 kB / 0.6891 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.1992, allocations: 28.56 kB / 0.6891 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.1992, allocations: 28 kB / 0.6891 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.1998, allocations: 278.2 kB / 0.6894 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1998, allocations: 0 / 0.6894 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1999, allocations: 12 kB / 0.6894 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.1999, allocations: 8 kB / 0.6894 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.2004, allocations: 194.1 kB / 0.6896 GB, free: 12.11 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.00219/0.2026, allocations: 1.476 MB / 0.691 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.2029, allocations: 164.4 kB / 0.6912 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2031, allocations: 88.8 kB / 0.6913 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/0.2048, allocations: 1.272 MB / 0.6925 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.2048, allocations: 42.5 kB / 0.6925 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.2049, allocations: 0 / 0.6925 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006857/0.2055, allocations: 241.1 kB / 0.6928 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2056, allocations: 63.39 kB / 0.6928 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.2063, allocations: 0.5808 MB / 0.6934 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2064, allocations: 29.7 kB / 0.6934 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.2066, allocations: 272.1 kB / 0.6937 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.2066, allocations: 47.2 kB / 0.6937 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2068, allocations: 73.97 kB / 0.6938 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2069, allocations: 358.8 kB / 0.6942 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.2072, allocations: 81.94 kB / 0.6942 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.2075, allocations: 210.7 kB / 0.6944 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.2079, allocations: 234.8 kB / 0.6947 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.208, allocations: 4 kB / 0.6947 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006534/0.2086, allocations: 316.8 kB / 0.695 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.2086, allocations: 7.984 kB / 0.695 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2087, allocations: 4 kB / 0.695 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2087, allocations: 4 kB / 0.695 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.2089, allocations: 63.91 kB / 0.695 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.209, allocations: 7.938 kB / 0.695 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.2093, allocations: 39.67 kB / 0.6951 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.2094, allocations: 20.11 kB / 0.6951 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003336/0.2097, allocations: 217.5 kB / 0.6953 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002896/0.21, allocations: 210.1 kB / 0.6955 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004126/0.2104, allocations: 231.8 kB / 0.6957 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.2104, allocations: 192 / 0.6957 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005976/0.2111, allocations: 312.8 kB / 0.696 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.2111, allocations: 7.938 kB / 0.696 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2111, allocations: 4 kB / 0.696 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2111, allocations: 4 kB / 0.696 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.2113, allocations: 71.78 kB / 0.6961 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2114, allocations: 7.984 kB / 0.6961 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.2117, allocations: 35.81 kB / 0.6962 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.2118, allocations: 16.12 kB / 0.6962 GB, free: 4.812 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.2119, allocations: 200.1 kB / 0.6964 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.212, allocations: 55.33 kB / 0.6964 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.2126, allocations: 254.5 kB / 0.6967 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.2127, allocations: 3.984 kB / 0.6967 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2127, allocations: 0 / 0.6967 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2127, allocations: 4 kB / 0.6967 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.2138, allocations: 0.7338 MB / 0.6974 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.2138, allocations: 0 / 0.6974 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.214, allocations: 31.98 kB / 0.6974 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.214, allocations: 8.125 kB / 0.6974 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.214, allocations: 3.984 kB / 0.6974 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.214, allocations: 8 kB / 0.6974 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.214, allocations: 3.938 kB / 0.6974 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.2145, allocations: 350.1 kB / 0.6978 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.2147, allocations: 148.4 kB / 0.6979 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.2148, allocations: 8 kB / 0.6979 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.215, allocations: 7.984 kB / 0.6979 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.2151, allocations: 27.8 kB / 0.698 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.2151, allocations: 4 kB / 0.698 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004914/0.2156, allocations: 426.8 kB / 0.6984 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2156, allocations: 0 / 0.6984 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007722/0.2164, allocations: 227.7 kB / 0.6986 GB, free: 2.223 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/0.2177, allocations: 489.7 kB / 0.699 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007793/0.2185, allocations: 322.5 kB / 0.6994 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2185, allocations: 0 / 0.6994 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.2187, allocations: 83.89 kB / 0.6994 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.22, allocations: 259.8 kB / 0.6997 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2215, allocations: 0.846 MB / 0.7005 GB, free: 384 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.2219, allocations: 0.8428 MB / 0.7013 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2221, allocations: 43.42 kB / 0.7014 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.2221, allocations: 0 / 0.7014 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Templates: time 0.01438/0.2365, allocations: 8.561 MB / 0.7097 GB, free: 6.984 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)