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.006318/0.006318, allocations: 103.1 kB / 15.73 MB, free: 6.484 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.00117/0.00117, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9836/0.9836, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 67.89 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.456, allocations: 80.92 MB / 0.6646 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01955/0.4756, allocations: 17.46 MB / 0.6817 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008148/0.4838, allocations: 4.915 MB / 0.6865 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.4846, allocations: 16.69 kB / 0.6865 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4858, allocations: 256.2 kB / 0.6868 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.4878, allocations: 0.6366 MB / 0.6874 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.49, allocations: 0.7282 MB / 0.6881 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.4917, allocations: 0.9712 MB / 0.689 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.4925, allocations: 336.2 kB / 0.6894 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.4937, allocations: 417.2 kB / 0.6898 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.4944, allocations: 316.3 kB / 0.6901 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.4945, allocations: 29.5 kB / 0.6901 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.4963, allocations: 0.7308 MB / 0.6908 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.4966, allocations: 132.3 kB / 0.6909 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.4971, allocations: 244.5 kB / 0.6912 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.499, allocations: 0.8798 MB / 0.692 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.499, allocations: 3.938 kB / 0.692 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.499, allocations: 0 / 0.692 GB, free: 2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.499, allocations: 1.188 kB / 0.692 GB, free: 2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002029/0.5011, allocations: 0.8802 MB / 0.6929 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5011, allocations: 9.062 kB / 0.6929 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.5014, allocations: 58.41 kB / 0.693 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.5024, allocations: 473.8 kB / 0.6934 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5025, allocations: 23.62 kB / 0.6934 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.5025, allocations: 29.06 kB / 0.6935 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.5031, allocations: 288.2 kB / 0.6937 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5031, allocations: 3.984 kB / 0.6937 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.5032, allocations: 6.625 kB / 0.6937 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5032, allocations: 6.656 kB / 0.6937 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.5036, allocations: 190.6 kB / 0.6939 GB, free: 0.5117 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.002112/0.5057, allocations: 1.477 MB / 0.6954 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.5061, allocations: 157.9 kB / 0.6955 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.5062, allocations: 83.5 kB / 0.6956 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001642/0.5079, allocations: 1.285 MB / 0.6969 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.5079, allocations: 35.88 kB / 0.6969 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 3.406e-06/0.5079, allocations: 4 kB / 0.6969 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007202/0.5087, allocations: 251.5 kB / 0.6971 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.5087, allocations: 53.22 kB / 0.6972 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007139/0.5094, allocations: 0.584 MB / 0.6978 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.5095, allocations: 28.45 kB / 0.6978 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.5097, allocations: 269 kB / 0.698 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.5098, allocations: 54.16 kB / 0.6981 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5099, allocations: 74.75 kB / 0.6982 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.51, allocations: 359.2 kB / 0.6985 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.5102, allocations: 77.81 kB / 0.6986 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.5106, allocations: 212.8 kB / 0.6988 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.511, allocations: 232.8 kB / 0.699 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.511, allocations: 1.656 kB / 0.699 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000644/0.5116, allocations: 320.4 kB / 0.6993 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5117, allocations: 6.062 kB / 0.6993 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5117, allocations: 3 kB / 0.6993 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5117, allocations: 4.312 kB / 0.6993 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.512, allocations: 66.64 kB / 0.6994 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.512, allocations: 7.844 kB / 0.6994 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.5123, allocations: 44.3 kB / 0.6994 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.5124, allocations: 18.86 kB / 0.6995 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002985/0.5127, allocations: 214.2 kB / 0.6997 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002803/0.513, allocations: 209.8 kB / 0.6999 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003747/0.5133, allocations: 227.4 kB / 0.7001 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.5134, allocations: 1.156 kB / 0.7001 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005669/0.5139, allocations: 315.7 kB / 0.7004 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.514, allocations: 9.062 kB / 0.7004 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.514, allocations: 5.359 kB / 0.7004 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.514, allocations: 4.25 kB / 0.7004 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.5142, allocations: 64.03 kB / 0.7005 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5142, allocations: 11.78 kB / 0.7005 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.5145, allocations: 35.62 kB / 0.7005 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5145, allocations: 15.41 kB / 0.7005 GB, free: 11.07 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.0001245/0.5147, allocations: 202.4 kB / 0.7007 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.5148, allocations: 53.5 kB / 0.7008 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.5153, allocations: 253.5 kB / 0.701 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.5153, allocations: 2.438 kB / 0.701 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5153, allocations: 1.406 kB / 0.701 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5154, allocations: 3.984 kB / 0.701 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.5165, allocations: 0.7297 MB / 0.7017 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5165, allocations: 1 kB / 0.7017 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5166, allocations: 36.3 kB / 0.7018 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5166, allocations: 1.312 kB / 0.7018 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.5167, allocations: 2.656 kB / 0.7018 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5167, allocations: 2.5 kB / 0.7018 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5167, allocations: 1.094 kB / 0.7018 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.5171, allocations: 365.7 kB / 0.7021 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5173, allocations: 143.2 kB / 0.7022 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.5174, allocations: 10.73 kB / 0.7023 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.5176, allocations: 10.72 kB / 0.7023 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.5176, allocations: 22.84 kB / 0.7023 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.5176, allocations: 5.25 kB / 0.7023 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004973/0.5181, allocations: 423.8 kB / 0.7027 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5181, allocations: 0 / 0.7027 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007819/0.5189, allocations: 227.5 kB / 0.7029 GB, free: 9.344 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.001206/0.5201, allocations: 0.4954 MB / 0.7034 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007604/0.5209, allocations: 323.7 kB / 0.7037 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.5209, allocations: 0 / 0.7037 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.5211, allocations: 89.08 kB / 0.7038 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5222, allocations: 250.4 kB / 0.704 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.5236, allocations: 0.7937 MB / 0.7048 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/0.5242, allocations: 0.8467 MB / 0.7056 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002924/0.5245, allocations: 104.6 kB / 0.7057 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.5246, allocations: 39.42 kB / 0.7058 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5246, allocations: 0 / 0.7058 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.02141/0.546, allocations: 10.25 MB / 0.7158 GB, free: 12.67 MB / 0.545 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)