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.001207/0.001207, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 188.9 kB / 16.66 MB, free: 6.582 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 67.89 kB / 0.5813 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3789, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01495/0.3938, allocations: 15.55 MB / 0.6748 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006118/0.4, allocations: 4.329 MB / 0.6791 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.4005, allocations: 17.19 kB / 0.6791 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.4013, allocations: 272.7 kB / 0.6793 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.4026, allocations: 0.6013 MB / 0.6799 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.4042, allocations: 0.7066 MB / 0.6806 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.4053, allocations: 1.037 MB / 0.6816 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/0.4058, allocations: 339.3 kB / 0.682 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.4064, allocations: 408.8 kB / 0.6824 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.4068, allocations: 323.1 kB / 0.6827 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.4069, allocations: 31.34 kB / 0.6827 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.4079, allocations: 0.6314 MB / 0.6833 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.408, allocations: 105.6 kB / 0.6834 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.4082, allocations: 226.8 kB / 0.6836 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009864/0.4092, allocations: 0.766 MB / 0.6844 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4092, allocations: 3.938 kB / 0.6844 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4092, allocations: 0 / 0.6844 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.4093, allocations: 0 / 0.6844 GB, free: 7.188 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.001132/0.4104, allocations: 0.8583 MB / 0.6852 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4104, allocations: 9.469 kB / 0.6852 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4106, allocations: 54.92 kB / 0.6853 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.4112, allocations: 443 kB / 0.6857 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.4113, allocations: 20.5 kB / 0.6857 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.4114, allocations: 26.59 kB / 0.6857 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.4118, allocations: 209.2 kB / 0.6859 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4118, allocations: 1.062 kB / 0.6859 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.4118, allocations: 9.281 kB / 0.686 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4118, allocations: 5.688 kB / 0.686 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.4122, allocations: 170.6 kB / 0.6861 GB, free: 5.805 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.001432/0.4136, allocations: 0.9478 MB / 0.687 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.4139, allocations: 128.4 kB / 0.6872 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.4141, allocations: 72.38 kB / 0.6872 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.4143, allocations: 340.9 kB / 0.6876 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4144, allocations: 35.94 kB / 0.6876 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.4144, allocations: 0 / 0.6876 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005591/0.4149, allocations: 238.1 kB / 0.6878 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.415, allocations: 56.78 kB / 0.6879 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.4155, allocations: 482.6 kB / 0.6883 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.4155, allocations: 31.08 kB / 0.6884 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4157, allocations: 229.6 kB / 0.6886 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.4157, allocations: 50.47 kB / 0.6886 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.4158, allocations: 57.06 kB / 0.6887 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4159, allocations: 353.6 kB / 0.689 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.4161, allocations: 72.25 kB / 0.6891 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.4164, allocations: 160.9 kB / 0.6892 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.4167, allocations: 157.9 kB / 0.6894 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4167, allocations: 4 kB / 0.6894 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004967/0.4172, allocations: 256 kB / 0.6896 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4172, allocations: 5 kB / 0.6897 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4173, allocations: 0 / 0.6897 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4173, allocations: 2.344 kB / 0.6897 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.4175, allocations: 50.78 kB / 0.6897 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.4175, allocations: 2.406 kB / 0.6897 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.4178, allocations: 45.05 kB / 0.6897 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4178, allocations: 15.31 kB / 0.6898 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002659/0.4181, allocations: 188.8 kB / 0.6899 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002261/0.4183, allocations: 171.7 kB / 0.6901 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003079/0.4187, allocations: 164.3 kB / 0.6903 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.103e-06/0.4187, allocations: 0 / 0.6903 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000487/0.4192, allocations: 266.4 kB / 0.6905 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.4192, allocations: 6.594 kB / 0.6905 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4192, allocations: 1.094 kB / 0.6905 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.4192, allocations: 6.438 kB / 0.6905 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.4194, allocations: 44.06 kB / 0.6906 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.4194, allocations: 1.531 kB / 0.6906 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.4197, allocations: 35.52 kB / 0.6906 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.4197, allocations: 15.12 kB / 0.6906 GB, free: 2.301 MB / 0.5137 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 9.62e-05/0.4198, allocations: 197 kB / 0.6908 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.4199, allocations: 43.03 kB / 0.6909 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.4204, allocations: 247.3 kB / 0.6911 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4205, allocations: 5.297 kB / 0.6911 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4205, allocations: 1.469 kB / 0.6911 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4205, allocations: 7.938 kB / 0.6911 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.4214, allocations: 0.697 MB / 0.6918 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4214, allocations: 1.5 kB / 0.6918 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4215, allocations: 25.98 kB / 0.6918 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.4215, allocations: 10.19 kB / 0.6918 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.4216, allocations: 15.7 kB / 0.6918 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4216, allocations: 5.25 kB / 0.6918 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4216, allocations: 1.094 kB / 0.6918 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.422, allocations: 345.1 kB / 0.6922 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.4222, allocations: 145.5 kB / 0.6923 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.4222, allocations: 1.281 kB / 0.6923 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.4224, allocations: 19.7 kB / 0.6923 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.4225, allocations: 14.2 kB / 0.6923 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4225, allocations: 9.156 kB / 0.6923 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003463/0.4229, allocations: 336.6 kB / 0.6927 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4229, allocations: 0 / 0.6927 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000654/0.4235, allocations: 207 kB / 0.6929 GB, free: 0.6328 MB / 0.5137 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.001044/0.4246, allocations: 477.2 kB / 0.6933 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006111/0.4252, allocations: 269.8 kB / 0.6936 GB, free: 324 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4252, allocations: 0 / 0.6936 GB, free: 324 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.4254, allocations: 84.64 kB / 0.6937 GB, free: 288 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/0.4264, allocations: 207.1 kB / 0.6939 GB, free: 184 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.4276, allocations: 0.7259 MB / 0.6946 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.428, allocations: 0.826 MB / 0.6954 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.4283, allocations: 82.33 kB / 0.6955 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.4284, allocations: 41.17 kB / 0.6955 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.4284, allocations: 0 / 0.6955 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.01504/0.4434, allocations: 8.509 MB / 0.7038 GB, free: 8.719 MB / 0.5294 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)