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-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.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.0008506/0.0008507, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008981/0.0008983, allocations: 177.3 kB / 15.94 MB, free: 228 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.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8291/0.8291, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 17.73 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.2812/0.4267, allocations: 25.81 MB / 0.6124 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.437, allocations: 9.264 MB / 0.6214 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.4382, allocations: 23.44 kB / 0.6215 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4392, allocations: 349.5 kB / 0.6218 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.4422, allocations: 1.144 MB / 0.6229 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.4449, allocations: 0.9053 MB / 0.6238 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4464, allocations: 1.249 MB / 0.625 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005886/0.447, allocations: 0.526 MB / 0.6255 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.4483, allocations: 0.7831 MB / 0.6263 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.4488, allocations: 459.5 kB / 0.6267 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.4489, allocations: 31 kB / 0.6268 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007972/0.4497, allocations: 386.8 kB / 0.6271 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.4498, allocations: 129.5 kB / 0.6273 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.4499, allocations: 182.1 kB / 0.6274 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.4505, allocations: 0.7064 MB / 0.6281 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.4505, allocations: 3.938 kB / 0.6281 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4505, allocations: 0 / 0.6281 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4505, allocations: 0 / 0.6281 GB, free: 31.8 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001277/0.4518, allocations: 1.018 MB / 0.6291 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4519, allocations: 9.25 kB / 0.6291 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.452, allocations: 95.23 kB / 0.6292 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.4526, allocations: 0.5316 MB / 0.6297 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.4527, allocations: 42.3 kB / 0.6298 GB, free: 30.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.4527, allocations: 55.95 kB / 0.6298 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.4533, allocations: 411.9 kB / 0.6302 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4533, allocations: 0 / 0.6302 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.4534, allocations: 18.88 kB / 0.6302 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4534, allocations: 11.69 kB / 0.6303 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.4539, allocations: 314.7 kB / 0.6306 GB, free: 30.34 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.002065/0.456, allocations: 1.857 MB / 0.6324 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.4562, allocations: 179.2 kB / 0.6325 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.4565, allocations: 339 kB / 0.6329 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.4565, allocations: 34.5 kB / 0.6329 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.4565, allocations: 2.531 kB / 0.6329 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0005907/0.4571, allocations: 324.5 kB / 0.6332 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.4571, allocations: 58.02 kB / 0.6333 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.4577, allocations: 0.6808 MB / 0.6339 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4577, allocations: 29.7 kB / 0.634 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.4579, allocations: 367.9 kB / 0.6343 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.4579, allocations: 64.19 kB / 0.6344 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.4579, allocations: 11.19 kB / 0.6344 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.458, allocations: 376.4 kB / 0.6347 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.4582, allocations: 100.8 kB / 0.6348 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.4585, allocations: 178.7 kB / 0.635 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.4587, allocations: 130.8 kB / 0.6351 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4587, allocations: 3.094 kB / 0.6351 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005457/0.4593, allocations: 392.1 kB / 0.6355 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.4593, allocations: 277.3 kB / 0.6358 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4593, allocations: 3.25 kB / 0.6358 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4594, allocations: 0 / 0.6358 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.4603, allocations: 161.3 kB / 0.6359 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/0.461, allocations: 2.363 MB / 0.6382 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.4615, allocations: 92.03 kB / 0.6383 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.4616, allocations: 15.28 kB / 0.6383 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.4616, allocations: 5.406 kB / 0.6383 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004677/0.4621, allocations: 295 kB / 0.6386 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.4621, allocations: 0 / 0.6386 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.4621, allocations: 2.969 kB / 0.6386 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.4625, allocations: 100.3 kB / 0.6387 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.4625, allocations: 3.125 kB / 0.6387 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.4629, allocations: 87.25 kB / 0.6388 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.4629, allocations: 14.06 kB / 0.6388 GB, free: 24.2 MB / 0.4981 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 (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.0001875/0.4631, allocations: 266.1 kB / 0.6391 GB, free: 23.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.4632, allocations: 70.42 kB / 0.6391 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.4637, allocations: 323.8 kB / 0.6395 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4637, allocations: 3.25 kB / 0.6395 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4638, allocations: 0 / 0.6395 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4638, allocations: 7.312 kB / 0.6395 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4648, allocations: 0.9019 MB / 0.6403 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4648, allocations: 3.469 kB / 0.6403 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.4651, allocations: 77.27 kB / 0.6404 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4651, allocations: 3.953 kB / 0.6404 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4651, allocations: 7.375 kB / 0.6404 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/0.4657, allocations: 2.362 MB / 0.6427 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4657, allocations: 0 / 0.6427 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.4662, allocations: 454.1 kB / 0.6432 GB, free: 20.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.4663, allocations: 184 kB / 0.6433 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.4664, allocations: 2.719 kB / 0.6433 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.4668, allocations: 48.17 kB / 0.6434 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.4668, allocations: 19.56 kB / 0.6434 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4669, allocations: 9.875 kB / 0.6434 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004129/0.4673, allocations: 470.6 kB / 0.6439 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4673, allocations: 0 / 0.6439 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007899/0.4681, allocations: 353.5 kB / 0.6442 GB, free: 20.07 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 (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.0003884/0.4685, allocations: 246.2 kB / 0.6444 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.4698, allocations: 0.4953 MB / 0.6449 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4698, allocations: 3.938 kB / 0.6449 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.4702, allocations: 144.4 kB / 0.6451 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.4718, allocations: 371.2 kB / 0.6454 GB, free: 19.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4733, allocations: 1.33 MB / 0.6467 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.4736, allocations: 0.9524 MB / 0.6477 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003906/0.474, allocations: 116.7 kB / 0.6478 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.4741, allocations: 51.61 kB / 0.6478 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.4741, allocations: 0 / 0.6478 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.02205/0.4962, allocations: 11.96 MB / 0.6595 GB, free: 17.16 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: