Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009954/0.0009954, allocations: 98.88 kB / 16.02 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.001099/0.001099, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.307/1.307, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8794/0.8794, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.000303, allocations: 16.66 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 82.32 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.2743/0.4187, allocations: 29.85 MB / 0.6178 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009822/0.4286, allocations: 10.72 MB / 0.6282 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008478/0.4294, allocations: 24.12 kB / 0.6283 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.4302, allocations: 314.9 kB / 0.6286 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.4324, allocations: 1.065 MB / 0.6296 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.434, allocations: 0.7651 MB / 0.6304 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.4361, allocations: 2.826 MB / 0.6331 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006233/0.4367, allocations: 0.5664 MB / 0.6337 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.4382, allocations: 0.8844 MB / 0.6345 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000679/0.4388, allocations: 0.6762 MB / 0.6352 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.4389, allocations: 31.38 kB / 0.6352 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.4399, allocations: 0.5672 MB / 0.6358 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4401, allocations: 136.2 kB / 0.6359 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.4403, allocations: 426.5 kB / 0.6363 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.4409, allocations: 0.7761 MB / 0.6371 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.441, allocations: 0 / 0.6371 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.441, allocations: 0 / 0.6371 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.441, allocations: 0 / 0.6371 GB, free: 27.42 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.4423, allocations: 1.022 MB / 0.6381 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4423, allocations: 9 kB / 0.6381 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.4424, allocations: 97.5 kB / 0.6382 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.443, allocations: 0.5587 MB / 0.6387 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.443, allocations: 37.38 kB / 0.6387 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.4431, allocations: 55.34 kB / 0.6388 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.4437, allocations: 416.8 kB / 0.6392 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4438, allocations: 0 / 0.6392 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.4438, allocations: 15.12 kB / 0.6392 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4438, allocations: 15.44 kB / 0.6392 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.4444, allocations: 314.4 kB / 0.6395 GB, free: 25.93 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.002117/0.4465, allocations: 1.865 MB / 0.6413 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.4468, allocations: 170.4 kB / 0.6415 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.447, allocations: 91.77 kB / 0.6416 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.4472, allocations: 338.2 kB / 0.6419 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4472, allocations: 37.64 kB / 0.642 GB, free: 24.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.4472, allocations: 4 kB / 0.642 GB, free: 24.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006469/0.4479, allocations: 314.2 kB / 0.6423 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.4479, allocations: 58.38 kB / 0.6423 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.4485, allocations: 0.6914 MB / 0.643 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.4485, allocations: 32.83 kB / 0.643 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.4487, allocations: 367.9 kB / 0.6434 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.4488, allocations: 62.41 kB / 0.6434 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.4488, allocations: 46.48 kB / 0.6435 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.4489, allocations: 379.5 kB / 0.6438 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.4491, allocations: 114.5 kB / 0.6439 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4494, allocations: 180.3 kB / 0.6441 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.4498, allocations: 256.5 kB / 0.6444 GB, free: 22.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4498, allocations: 0 / 0.6444 GB, free: 22.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006163/0.4504, allocations: 417.4 kB / 0.6448 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.4505, allocations: 101.1 kB / 0.6449 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4505, allocations: 2.125 kB / 0.6449 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4505, allocations: 1.969 kB / 0.6449 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009724/0.4515, allocations: 172.8 kB / 0.645 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007995/0.4523, allocations: 2.364 MB / 0.6473 GB, free: 20 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.4529, allocations: 83.98 kB / 0.6474 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.4529, allocations: 18.05 kB / 0.6474 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.4529, allocations: 5.406 kB / 0.6474 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005058/0.4534, allocations: 299.5 kB / 0.6477 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.4534, allocations: 0 / 0.6477 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-06/0.4535, allocations: 2.938 kB / 0.6477 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.4538, allocations: 102 kB / 0.6478 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4539, allocations: 10.56 kB / 0.6478 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.4543, allocations: 78.45 kB / 0.6479 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.4543, allocations: 15.75 kB / 0.6479 GB, free: 19.82 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.4545, allocations: 266.1 kB / 0.6482 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.4546, allocations: 70.56 kB / 0.6482 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/0.4552, allocations: 317.2 kB / 0.6485 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4552, allocations: 6.562 kB / 0.6486 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4552, allocations: 0 / 0.6486 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4552, allocations: 10 kB / 0.6486 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.4564, allocations: 0.9003 MB / 0.6494 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4564, allocations: 0 / 0.6494 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.4567, allocations: 79.45 kB / 0.6495 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4567, allocations: 3.938 kB / 0.6495 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4567, allocations: 5.25 kB / 0.6495 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006102/0.4573, allocations: 2.356 MB / 0.6518 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4573, allocations: 3.344 kB / 0.6518 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.4578, allocations: 417.2 kB / 0.6522 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.458, allocations: 177.7 kB / 0.6524 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.4581, allocations: 4 kB / 0.6524 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.4585, allocations: 51.44 kB / 0.6525 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.4585, allocations: 16.53 kB / 0.6525 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4586, allocations: 6.438 kB / 0.6525 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004472/0.459, allocations: 479.4 kB / 0.6529 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.459, allocations: 4 kB / 0.6529 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008265/0.4598, allocations: 344.6 kB / 0.6533 GB, free: 15.77 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/0.4603, allocations: 258.1 kB / 0.6535 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.4618, allocations: 0.5003 MB / 0.654 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4618, allocations: 4 kB / 0.654 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.4621, allocations: 143.8 kB / 0.6541 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.4641, allocations: 377.8 kB / 0.6545 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.4659, allocations: 1.416 MB / 0.6559 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.4663, allocations: 0.9311 MB / 0.6568 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.4664, allocations: 54 kB / 0.6568 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.4665, allocations: 3.938 kB / 0.6568 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.02683/0.4933, allocations: 22.01 MB / 0.6783 GB, free: 8.027 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)