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.001286/0.001286, allocations: 108 kB / 15.61 MB, free: 148 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.001295/0.001295, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.2 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 55.78 kB / 0.5054 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 80.93 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.3345/0.4999, allocations: 30.75 MB / 0.6144 GB, free: 36.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.5106, allocations: 10.84 MB / 0.625 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.5118, allocations: 24.94 kB / 0.625 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000982/0.5129, allocations: 404.3 kB / 0.6254 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.5159, allocations: 1.139 MB / 0.6265 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.518, allocations: 0.8501 MB / 0.6274 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00215/0.5202, allocations: 2.045 MB / 0.6294 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.521, allocations: 0.687 MB / 0.63 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.5228, allocations: 0.9809 MB / 0.631 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009005/0.5237, allocations: 0.6729 MB / 0.6317 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.747e-05/0.5238, allocations: 55.84 kB / 0.6317 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.5252, allocations: 0.6082 MB / 0.6323 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.5254, allocations: 166 kB / 0.6325 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004984/0.5259, allocations: 437.4 kB / 0.6329 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.5275, allocations: 1.081 MB / 0.6339 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.5275, allocations: 0 / 0.6339 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5275, allocations: 0 / 0.6339 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.5276, allocations: 0 / 0.6339 GB, free: 27.15 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.001748/0.5293, allocations: 1.168 MB / 0.6351 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.5294, allocations: 11.44 kB / 0.6351 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.5295, allocations: 96.97 kB / 0.6352 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.5302, allocations: 0.5587 MB / 0.6357 GB, free: 25.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.5303, allocations: 37.62 kB / 0.6358 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.5304, allocations: 58.44 kB / 0.6358 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.531, allocations: 408.4 kB / 0.6362 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.531, allocations: 3.938 kB / 0.6362 GB, free: 25.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.5311, allocations: 23.06 kB / 0.6362 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5311, allocations: 12.94 kB / 0.6362 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.5316, allocations: 301.3 kB / 0.6365 GB, free: 25.56 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.002442/0.5341, allocations: 1.872 MB / 0.6384 GB, free: 24.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.5344, allocations: 172.7 kB / 0.6385 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.5346, allocations: 85.92 kB / 0.6386 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.5348, allocations: 341 kB / 0.6389 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.5348, allocations: 37.7 kB / 0.639 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.5348, allocations: 0 / 0.639 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0006484/0.5355, allocations: 298.4 kB / 0.6392 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.5355, allocations: 62.47 kB / 0.6393 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.5362, allocations: 0.6868 MB / 0.64 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.5362, allocations: 29.7 kB / 0.64 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5364, allocations: 365.8 kB / 0.6404 GB, free: 22.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.5364, allocations: 71.92 kB / 0.6404 GB, free: 22.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5366, allocations: 90.53 kB / 0.6405 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5367, allocations: 381.2 kB / 0.6409 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.5369, allocations: 117 kB / 0.641 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.5372, allocations: 176.9 kB / 0.6412 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.5376, allocations: 248 kB / 0.6414 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.5376, allocations: 0 / 0.6414 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006371/0.5383, allocations: 394 kB / 0.6418 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5383, allocations: 5.938 kB / 0.6418 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5383, allocations: 3.469 kB / 0.6418 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5383, allocations: 3.062 kB / 0.6418 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.5393, allocations: 154.4 kB / 0.6419 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007939/0.5401, allocations: 2.367 MB / 0.6442 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.5406, allocations: 57.48 kB / 0.6443 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.5407, allocations: 16.47 kB / 0.6443 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003636/0.541, allocations: 257.5 kB / 0.6446 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002421/0.5413, allocations: 177.4 kB / 0.6447 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003677/0.5417, allocations: 232.8 kB / 0.6449 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.5417, allocations: 0 / 0.6449 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0005929/0.5423, allocations: 377.6 kB / 0.6453 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.619e-06/0.5423, allocations: 4.969 kB / 0.6453 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.5423, allocations: 0 / 0.6453 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.73e-06/0.5423, allocations: 10.11 kB / 0.6453 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.5427, allocations: 101.9 kB / 0.6454 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5427, allocations: 7.484 kB / 0.6454 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.5432, allocations: 38.02 kB / 0.6455 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.5432, allocations: 17.98 kB / 0.6455 GB, free: 19.15 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.0001024/0.5433, allocations: 200.1 kB / 0.6457 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.5434, allocations: 70.56 kB / 0.6457 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005842/0.544, allocations: 303 kB / 0.646 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.544, allocations: 3.031 kB / 0.646 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.544, allocations: 0 / 0.646 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.544, allocations: 3.469 kB / 0.646 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5451, allocations: 0.8947 MB / 0.6469 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5451, allocations: 2.625 kB / 0.6469 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.5454, allocations: 69.69 kB / 0.647 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5454, allocations: 2.625 kB / 0.647 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5454, allocations: 10.03 kB / 0.647 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005668/0.546, allocations: 2.354 MB / 0.6493 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.546, allocations: 2.844 kB / 0.6493 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.5465, allocations: 407.2 kB / 0.6497 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.5466, allocations: 168.6 kB / 0.6498 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.5467, allocations: 2.625 kB / 0.6498 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.547, allocations: 18.44 kB / 0.6499 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.5471, allocations: 15.58 kB / 0.6499 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5471, allocations: 17.27 kB / 0.6499 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004376/0.5475, allocations: 477.3 kB / 0.6503 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5475, allocations: 6.562 kB / 0.6503 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008234/0.5484, allocations: 345 kB / 0.6507 GB, free: 15.16 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.0004359/0.5488, allocations: 243.1 kB / 0.6509 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.5503, allocations: 0.4999 MB / 0.6514 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5503, allocations: 0 / 0.6514 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.5507, allocations: 149.4 kB / 0.6515 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.5522, allocations: 326.5 kB / 0.6518 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.5539, allocations: 1.126 MB / 0.6529 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.5543, allocations: 0.9322 MB / 0.6539 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004892/0.5548, allocations: 116.6 kB / 0.654 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.5549, allocations: 50.5 kB / 0.654 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.5549, allocations: 1.219 kB / 0.654 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.02756/0.5825, allocations: 12.58 MB / 0.6663 GB, free: 12.39 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)