Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001169/0.001169, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.743/0.743, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3538, allocations: 81.57 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02829/0.3821, allocations: 28.29 MB / 0.6107 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.3948, allocations: 10.15 MB / 0.6206 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009784/0.3958, allocations: 22.38 kB / 0.6206 GB, free: 7.055 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009593/0.3968, allocations: 276.4 kB / 0.6209 GB, free: 6.824 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.3993, allocations: 0.9258 MB / 0.6218 GB, free: 6.078 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.4012, allocations: 0.7095 MB / 0.6225 GB, free: 5.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.4041, allocations: 2.406 MB / 0.6248 GB, free: 4.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009482/0.4051, allocations: 0.5229 MB / 0.6254 GB, free: 3.812 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.4069, allocations: 0.8245 MB / 0.6262 GB, free: 3.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.4081, allocations: 0.6304 MB / 0.6268 GB, free: 2.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4082, allocations: 29.72 kB / 0.6268 GB, free: 2.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.4094, allocations: 0.5191 MB / 0.6273 GB, free: 2.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.4095, allocations: 130.9 kB / 0.6274 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.4098, allocations: 181.8 kB / 0.6276 GB, free: 2.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008332/0.4106, allocations: 0.7539 MB / 0.6283 GB, free: 2.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4106, allocations: 1.188 kB / 0.6283 GB, free: 2.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4106, allocations: 0 / 0.6283 GB, free: 2.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4107, allocations: 0 / 0.6283 GB, free: 2.023 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001549/0.4122, allocations: 1.036 MB / 0.6294 GB, free: 1.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4123, allocations: 8.031 kB / 0.6294 GB, free: 1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.4124, allocations: 94.88 kB / 0.6295 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.4131, allocations: 0.5304 MB / 0.63 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.4131, allocations: 41 kB / 0.63 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.951e-05/0.4132, allocations: 56 kB / 0.6301 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.4139, allocations: 410.4 kB / 0.6305 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4139, allocations: 4 kB / 0.6305 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.414, allocations: 20 kB / 0.6305 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.414, allocations: 19.94 kB / 0.6305 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.4146, allocations: 311.8 kB / 0.6308 GB, free: 15.49 MB / 478.1 MB 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.002437/0.417, allocations: 1.85 MB / 0.6326 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.4174, allocations: 182.3 kB / 0.6328 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4176, allocations: 80.81 kB / 0.6329 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.4178, allocations: 344.5 kB / 0.6332 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.4178, allocations: 38.56 kB / 0.6332 GB, free: 12.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.442e-06/0.4178, allocations: 0 / 0.6332 GB, free: 12.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006549/0.4185, allocations: 325.4 kB / 0.6335 GB, free: 12.44 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.4185, allocations: 55.41 kB / 0.6336 GB, free: 12.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.4193, allocations: 0.6726 MB / 0.6342 GB, free: 11.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.4193, allocations: 37.7 kB / 0.6343 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.4196, allocations: 360.6 kB / 0.6346 GB, free: 11.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.4196, allocations: 71.08 kB / 0.6347 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.4196, allocations: 4 kB / 0.6347 GB, free: 11.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4198, allocations: 378.7 kB / 0.6351 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.42, allocations: 108.7 kB / 0.6352 GB, free: 10.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.4203, allocations: 175.8 kB / 0.6353 GB, free: 10.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.4206, allocations: 142.1 kB / 0.6355 GB, free: 10.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4206, allocations: 0 / 0.6355 GB, free: 10.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006532/0.4213, allocations: 386.6 kB / 0.6358 GB, free: 10.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.4213, allocations: 114.6 kB / 0.6359 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4213, allocations: 0 / 0.6359 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4213, allocations: 0 / 0.6359 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/0.4223, allocations: 163.9 kB / 0.6361 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.4234, allocations: 2.367 MB / 0.6384 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.4239, allocations: 87.75 kB / 0.6385 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.424, allocations: 19.98 kB / 0.6385 GB, free: 7.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.424, allocations: 4 kB / 0.6385 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005556/0.4245, allocations: 296 kB / 0.6388 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4246, allocations: 112 / 0.6388 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.4246, allocations: 7.938 kB / 0.6388 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.425, allocations: 99.88 kB / 0.6389 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.425, allocations: 8 kB / 0.6389 GB, free: 6.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.4254, allocations: 75.53 kB / 0.639 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.4255, allocations: 19.95 kB / 0.639 GB, free: 6.664 MB / 478.1 MB 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.4257, allocations: 262.6 kB / 0.6392 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.4258, allocations: 67.16 kB / 0.6393 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.4264, allocations: 320.7 kB / 0.6396 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4264, allocations: 4 kB / 0.6396 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4264, allocations: 0 / 0.6396 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4265, allocations: 4 kB / 0.6396 GB, free: 6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.4276, allocations: 0.8961 MB / 0.6405 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.4276, allocations: 8.031 kB / 0.6405 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.428, allocations: 75.88 kB / 0.6406 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.428, allocations: 7.984 kB / 0.6406 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.428, allocations: 4 kB / 0.6406 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009296/0.4289, allocations: 2.356 MB / 0.6429 GB, free: 2.492 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4289, allocations: 11.91 kB / 0.6429 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.4295, allocations: 412.3 kB / 0.6433 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.4296, allocations: 176.1 kB / 0.6435 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.4297, allocations: 4 kB / 0.6435 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.4301, allocations: 55.8 kB / 0.6435 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.4302, allocations: 19.92 kB / 0.6435 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.4302, allocations: 8 kB / 0.6435 GB, free: 1.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004922/0.4307, allocations: 475 kB / 0.644 GB, free: 1.312 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4307, allocations: 0 / 0.644 GB, free: 1.312 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000779/0.4315, allocations: 347.2 kB / 0.6443 GB, free: 0.9727 MB / 478.1 MB 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004169/0.4319, allocations: 253.2 kB / 0.6446 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.4333, allocations: 498.8 kB / 0.645 GB, free: 252 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4333, allocations: 4 kB / 0.645 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.4337, allocations: 143.8 kB / 0.6452 GB, free: 104 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.4355, allocations: 367.6 kB / 0.6455 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4372, allocations: 1.344 MB / 0.6468 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4376, allocations: 0.937 MB / 0.6478 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.438, allocations: 111.9 kB / 0.6479 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.4381, allocations: 55.42 kB / 0.6479 GB, free: 13.24 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4381, allocations: 0 / 0.6479 GB, free: 13.24 MB / 494.1 MB Notification: Performance of Templates: time 0.01973/0.4578, allocations: 11.98 MB / 0.6596 GB, free: 1.496 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)