Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005326/0.005326, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.001154/0.001154, allocations: 190 kB / 16.67 MB, free: 5.883 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8018/0.8018, allocations: 132.2 MB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.69 kB / 0.5813 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1835, allocations: 80.21 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01686/0.2004, allocations: 15.55 MB / 0.6749 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006644/0.2071, allocations: 4.33 MB / 0.6791 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/0.2077, allocations: 19.88 kB / 0.6791 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009003/0.2086, allocations: 266.3 kB / 0.6794 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2101, allocations: 0.6274 MB / 0.68 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.2118, allocations: 0.7107 MB / 0.6807 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.213, allocations: 1.037 MB / 0.6817 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.2135, allocations: 339.7 kB / 0.682 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.2142, allocations: 422.3 kB / 0.6824 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.2146, allocations: 334.5 kB / 0.6827 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.2146, allocations: 24 kB / 0.6828 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2157, allocations: 0.6239 MB / 0.6834 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2158, allocations: 107.5 kB / 0.6835 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.2161, allocations: 226.8 kB / 0.6837 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009582/0.217, allocations: 0.7711 MB / 0.6844 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.217, allocations: 4 kB / 0.6844 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2171, allocations: 0 / 0.6844 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.2171, allocations: 0 / 0.6844 GB, free: 4.027 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001168/0.2182, allocations: 0.8214 MB / 0.6852 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2183, allocations: 15.95 kB / 0.6853 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2184, allocations: 56.28 kB / 0.6853 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.219, allocations: 436.5 kB / 0.6857 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2191, allocations: 20.44 kB / 0.6857 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.2191, allocations: 28 kB / 0.6858 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.2195, allocations: 215.2 kB / 0.686 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2196, allocations: 0 / 0.686 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2196, allocations: 8 kB / 0.686 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2196, allocations: 4 kB / 0.686 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.22, allocations: 169.6 kB / 0.6861 GB, free: 2.18 MB / 0.5137 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.001524/0.2215, allocations: 0.9379 MB / 0.6871 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2218, allocations: 138.6 kB / 0.6872 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.222, allocations: 72.81 kB / 0.6873 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.2223, allocations: 336.4 kB / 0.6876 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2223, allocations: 30.56 kB / 0.6876 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.2223, allocations: 0 / 0.6876 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005903/0.2229, allocations: 239.7 kB / 0.6878 GB, free: 268 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.2229, allocations: 59.41 kB / 0.6879 GB, free: 196 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.2234, allocations: 478 kB / 0.6884 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2235, allocations: 25.7 kB / 0.6884 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.2236, allocations: 236.6 kB / 0.6886 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.2237, allocations: 47.3 kB / 0.6887 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2238, allocations: 57.7 kB / 0.6887 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2239, allocations: 354.7 kB / 0.689 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.2241, allocations: 80.81 kB / 0.6891 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.2244, allocations: 151 kB / 0.6893 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2247, allocations: 172 kB / 0.6894 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2247, allocations: 0 / 0.6894 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004853/0.2252, allocations: 255 kB / 0.6897 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2252, allocations: 4 kB / 0.6897 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2252, allocations: 0 / 0.6897 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2253, allocations: 4 kB / 0.6897 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2255, allocations: 47.91 kB / 0.6897 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2255, allocations: 0 / 0.6897 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.2258, allocations: 39.75 kB / 0.6898 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.2258, allocations: 15.94 kB / 0.6898 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002623/0.2261, allocations: 188.7 kB / 0.69 GB, free: 14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002284/0.2263, allocations: 169.2 kB / 0.6901 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003129/0.2267, allocations: 172.2 kB / 0.6903 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2267, allocations: 192 / 0.6903 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004721/0.2272, allocations: 253 kB / 0.6905 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2272, allocations: 7.938 kB / 0.6905 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.2272, allocations: 3.938 kB / 0.6905 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.2272, allocations: 4 kB / 0.6905 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2274, allocations: 47.97 kB / 0.6906 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.2274, allocations: 0 / 0.6906 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.2277, allocations: 39.88 kB / 0.6906 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.2277, allocations: 11.98 kB / 0.6906 GB, free: 13.25 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001162/0.2279, allocations: 196.1 kB / 0.6908 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.2279, allocations: 43.44 kB / 0.6909 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.2285, allocations: 241.4 kB / 0.6911 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.2285, allocations: 11.98 kB / 0.6911 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2285, allocations: 4 kB / 0.6911 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2285, allocations: 3.938 kB / 0.6911 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2296, allocations: 0.6998 MB / 0.6918 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2297, allocations: 4 kB / 0.6918 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.2298, allocations: 32.09 kB / 0.6918 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.2298, allocations: 7.938 kB / 0.6918 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.2298, allocations: 0 / 0.6918 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.2299, allocations: 11.88 kB / 0.6919 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2299, allocations: 0 / 0.6919 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.2303, allocations: 341.1 kB / 0.6922 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.2305, allocations: 144.4 kB / 0.6923 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.2306, allocations: 8 kB / 0.6923 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.2308, allocations: 15.98 kB / 0.6923 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.2308, allocations: 15.86 kB / 0.6924 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2309, allocations: 15.98 kB / 0.6924 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003745/0.2312, allocations: 330.9 kB / 0.6927 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2313, allocations: 0 / 0.6927 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007131/0.232, allocations: 203.6 kB / 0.6929 GB, free: 10.83 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 (16): * Single equations (assignments): 14 * 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.001248/0.2332, allocations: 473 kB / 0.6933 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006859/0.2339, allocations: 271.6 kB / 0.6936 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2339, allocations: 4 kB / 0.6936 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.2341, allocations: 84.02 kB / 0.6937 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.2351, allocations: 207.9 kB / 0.6939 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2363, allocations: 0.6971 MB / 0.6946 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.2367, allocations: 0.8309 MB / 0.6954 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.2369, allocations: 87.41 kB / 0.6954 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.237, allocations: 39.42 kB / 0.6955 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.237, allocations: 0 / 0.6955 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.01538/0.2524, allocations: 8.51 MB / 0.7038 GB, free: 15.9 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)