Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001379/0.001379, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002059/0.002059, allocations: 200.7 kB / 16.26 MB, free: 6.625 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9892/0.9892, allocations: 135.6 MB / 425.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 65.84 kB / 0.5054 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1759, allocations: 81.03 MB / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02115/0.1971, allocations: 17.36 MB / 0.6015 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2982/0.4954, allocations: 4.876 MB / 0.6062 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007273/0.4962, allocations: 13.38 kB / 0.6062 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.4972, allocations: 219 kB / 0.6064 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.4991, allocations: 0.5676 MB / 0.607 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.5011, allocations: 0.6543 MB / 0.6076 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.5025, allocations: 0.9664 MB / 0.6086 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006227/0.5031, allocations: 330.5 kB / 0.6089 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009197/0.5041, allocations: 427.3 kB / 0.6093 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.5047, allocations: 324.8 kB / 0.6096 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.5048, allocations: 28.59 kB / 0.6096 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.5062, allocations: 0.7344 MB / 0.6104 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.5064, allocations: 128.7 kB / 0.6105 GB, free: 35.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.5068, allocations: 243.8 kB / 0.6107 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.5084, allocations: 0.8807 MB / 0.6116 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.5084, allocations: 0 / 0.6116 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5084, allocations: 4 kB / 0.6116 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.5084, allocations: 0 / 0.6116 GB, free: 35.43 MB / 0.4981 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.001588/0.51, allocations: 0.8723 MB / 0.6124 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5101, allocations: 15.69 kB / 0.6124 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.5104, allocations: 62.34 kB / 0.6125 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.511, allocations: 443.2 kB / 0.6129 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.5111, allocations: 30.06 kB / 0.613 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.5111, allocations: 29.09 kB / 0.613 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.5117, allocations: 277.5 kB / 0.6132 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.5117, allocations: 6.344 kB / 0.6133 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.5117, allocations: 13.38 kB / 0.6133 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.5117, allocations: 5.281 kB / 0.6133 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.5121, allocations: 189.6 kB / 0.6135 GB, free: 34.46 MB / 0.4981 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.001661/0.5138, allocations: 1.481 MB / 0.6149 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.5141, allocations: 158.5 kB / 0.615 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.5143, allocations: 88.83 kB / 0.6151 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.5156, allocations: 1.271 MB / 0.6164 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5157, allocations: 42.44 kB / 0.6164 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.5157, allocations: 0 / 0.6164 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005799/0.5163, allocations: 242.8 kB / 0.6166 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.5163, allocations: 59.81 kB / 0.6167 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.5168, allocations: 0.581 MB / 0.6173 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.5169, allocations: 30.3 kB / 0.6173 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.517, allocations: 271.3 kB / 0.6176 GB, free: 31.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.5171, allocations: 60.91 kB / 0.6176 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.5171, allocations: 70.84 kB / 0.6177 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.5172, allocations: 362.9 kB / 0.618 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.5174, allocations: 75.44 kB / 0.6181 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.5176, allocations: 213.3 kB / 0.6183 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.518, allocations: 233.5 kB / 0.6185 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.518, allocations: 3.375 kB / 0.6185 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004802/0.5185, allocations: 317.4 kB / 0.6188 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5185, allocations: 9.844 kB / 0.6188 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5185, allocations: 3.25 kB / 0.6188 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5185, allocations: 6.969 kB / 0.6189 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.5188, allocations: 66.2 kB / 0.6189 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.5188, allocations: 3.156 kB / 0.6189 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.5191, allocations: 46.25 kB / 0.619 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.5192, allocations: 10.38 kB / 0.619 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002611/0.5194, allocations: 215.4 kB / 0.6192 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002184/0.5197, allocations: 215.4 kB / 0.6194 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003071/0.52, allocations: 233.1 kB / 0.6196 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.52, allocations: 0 / 0.6196 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004642/0.5204, allocations: 304.8 kB / 0.6199 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.5205, allocations: 9.812 kB / 0.6199 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.5205, allocations: 7 kB / 0.6199 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-06/0.5205, allocations: 5.781 kB / 0.6199 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.5207, allocations: 60.59 kB / 0.62 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5207, allocations: 8.891 kB / 0.62 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.521, allocations: 43.27 kB / 0.62 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5211, allocations: 19.59 kB / 0.62 GB, free: 30.89 MB / 0.4981 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 7.633e-05/0.5211, allocations: 197.3 kB / 0.6202 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.5212, allocations: 52.78 kB / 0.6203 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5217, allocations: 256.5 kB / 0.6205 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.5217, allocations: 3.062 kB / 0.6205 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5217, allocations: 4 kB / 0.6205 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.5217, allocations: 2.812 kB / 0.6205 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008142/0.5225, allocations: 0.7324 MB / 0.6213 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5226, allocations: 0 / 0.6213 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.5227, allocations: 39.38 kB / 0.6213 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5227, allocations: 0 / 0.6213 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.5227, allocations: 14.06 kB / 0.6213 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5227, allocations: 2.969 kB / 0.6213 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5227, allocations: 3.328 kB / 0.6213 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.5231, allocations: 355.4 kB / 0.6216 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5232, allocations: 150.3 kB / 0.6218 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.5233, allocations: 3.234 kB / 0.6218 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.5235, allocations: 16.25 kB / 0.6218 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.5235, allocations: 23.75 kB / 0.6218 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5236, allocations: 8.859 kB / 0.6218 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003618/0.5239, allocations: 419.4 kB / 0.6222 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5239, allocations: 0 / 0.6222 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007089/0.5246, allocations: 234.6 kB / 0.6225 GB, free: 29.81 MB / 0.4981 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.001504/0.5262, allocations: 491.3 kB / 0.6229 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006376/0.5268, allocations: 328.7 kB / 0.6232 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5268, allocations: 3 kB / 0.6232 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.527, allocations: 86.25 kB / 0.6233 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.528, allocations: 258.7 kB / 0.6236 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5291, allocations: 0.9684 MB / 0.6245 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.5294, allocations: 0.846 MB / 0.6254 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003046/0.5297, allocations: 98.75 kB / 0.6254 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.5298, allocations: 39.22 kB / 0.6255 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5298, allocations: 0 / 0.6255 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.01644/0.5462, allocations: 10.1 MB / 0.6353 GB, free: 27.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)