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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7178/0.7178, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 404.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 107.5 kB / 485.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009752/0.0009752, allocations: 59.91 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1365, allocations: 80.42 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02983/0.1663, allocations: 30.6 MB / 0.672 GB, free: 6.711 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.1799, allocations: 10.84 MB / 0.6826 GB, free: 11.85 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.1811, allocations: 23.81 kB / 0.6826 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.1823, allocations: 318.1 kB / 0.6829 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.1855, allocations: 1.059 MB / 0.684 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.1876, allocations: 0.7693 MB / 0.6847 GB, free: 9.688 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.1906, allocations: 2.842 MB / 0.6875 GB, free: 6.836 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/0.1914, allocations: 0.5831 MB / 0.6881 GB, free: 6.238 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.1931, allocations: 0.9101 MB / 0.689 GB, free: 5.324 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008471/0.194, allocations: 0.6807 MB / 0.6896 GB, free: 4.641 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.1941, allocations: 36 kB / 0.6897 GB, free: 4.605 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1953, allocations: 0.5848 MB / 0.6902 GB, free: 4.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1955, allocations: 147.2 kB / 0.6904 GB, free: 3.875 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.1959, allocations: 417.8 kB / 0.6908 GB, free: 3.465 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1971, allocations: 1.059 MB / 0.6918 GB, free: 2.402 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1971, allocations: 0 / 0.6918 GB, free: 2.402 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1971, allocations: 0 / 0.6918 GB, free: 2.402 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1971, allocations: 0 / 0.6918 GB, free: 2.402 MB / 490.7 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.001748/0.1988, allocations: 1.164 MB / 0.6929 GB, free: 1.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1989, allocations: 8.031 kB / 0.6929 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1991, allocations: 95.81 kB / 0.693 GB, free: 1.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.1998, allocations: 0.5651 MB / 0.6936 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.1999, allocations: 37 kB / 0.6936 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.2, allocations: 59.94 kB / 0.6937 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.31/0.51, allocations: 414.4 kB / 0.6941 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.5101, allocations: 0 / 0.6941 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.5102, allocations: 14.62 kB / 0.6941 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.5102, allocations: 11.34 kB / 0.6941 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.511, allocations: 298.9 kB / 0.6944 GB, free: 60.66 MB / 490.7 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.003222/0.5143, allocations: 1.849 MB / 0.6962 GB, free: 59.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.5147, allocations: 167.4 kB / 0.6963 GB, free: 59.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.5149, allocations: 82.23 kB / 0.6964 GB, free: 59.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.5152, allocations: 347.8 kB / 0.6968 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.5152, allocations: 32.89 kB / 0.6968 GB, free: 59.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.5152, allocations: 0 / 0.6968 GB, free: 59.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008595/0.5161, allocations: 307.5 kB / 0.6971 GB, free: 58.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.5161, allocations: 53.44 kB / 0.6971 GB, free: 58.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009174/0.5171, allocations: 0.6875 MB / 0.6978 GB, free: 58.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5171, allocations: 36.62 kB / 0.6978 GB, free: 58.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.5174, allocations: 362.9 kB / 0.6982 GB, free: 58.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.5174, allocations: 66.61 kB / 0.6982 GB, free: 58.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.5176, allocations: 88.08 kB / 0.6983 GB, free: 58.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5177, allocations: 379 kB / 0.6987 GB, free: 57.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.518, allocations: 112.8 kB / 0.6988 GB, free: 57.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.5183, allocations: 183.2 kB / 0.699 GB, free: 57.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.5188, allocations: 236.2 kB / 0.6992 GB, free: 57.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5188, allocations: 0 / 0.6992 GB, free: 57.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008461/0.5197, allocations: 404.2 kB / 0.6996 GB, free: 57.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.5197, allocations: 6.078 kB / 0.6996 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5197, allocations: 0.875 kB / 0.6996 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5197, allocations: 2.969 kB / 0.6996 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.5208, allocations: 160.5 kB / 0.6997 GB, free: 57.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008844/0.5217, allocations: 2.368 MB / 0.7021 GB, free: 55.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.5224, allocations: 90.2 kB / 0.7021 GB, free: 55.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.5224, allocations: 17.17 kB / 0.7022 GB, free: 55.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003983/0.5228, allocations: 253 kB / 0.7024 GB, free: 54.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003154/0.5231, allocations: 172.4 kB / 0.7026 GB, free: 54.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004263/0.5236, allocations: 232.5 kB / 0.7028 GB, free: 54.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.5236, allocations: 0 / 0.7028 GB, free: 54.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007588/0.5244, allocations: 383.6 kB / 0.7032 GB, free: 54.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5244, allocations: 5.25 kB / 0.7032 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5244, allocations: 1.344 kB / 0.7032 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5244, allocations: 7.719 kB / 0.7032 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.5249, allocations: 99.14 kB / 0.7033 GB, free: 54.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.5249, allocations: 3.016 kB / 0.7033 GB, free: 54.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.5254, allocations: 66.55 kB / 0.7033 GB, free: 54.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.5255, allocations: 23.09 kB / 0.7034 GB, free: 54.49 MB / 490.7 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 (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.0001392/0.5256, allocations: 195.5 kB / 0.7035 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5258, allocations: 68.03 kB / 0.7036 GB, free: 54.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.5266, allocations: 323 kB / 0.7039 GB, free: 54.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5266, allocations: 3.875 kB / 0.7039 GB, free: 54.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5266, allocations: 0 / 0.7039 GB, free: 54.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5266, allocations: 1.641 kB / 0.7039 GB, free: 54.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.5281, allocations: 0.8964 MB / 0.7048 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5281, allocations: 1.031 kB / 0.7048 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.5284, allocations: 76.73 kB / 0.7049 GB, free: 53.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.5285, allocations: 3.5 kB / 0.7049 GB, free: 53.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5285, allocations: 4.016 kB / 0.7049 GB, free: 53.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007282/0.5292, allocations: 2.358 MB / 0.7072 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5292, allocations: 1.125 kB / 0.7072 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.5302, allocations: 1.155 MB / 0.7083 GB, free: 50.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.5304, allocations: 162.4 kB / 0.7085 GB, free: 50.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.5305, allocations: 11.39 kB / 0.7085 GB, free: 50.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.5309, allocations: 52.42 kB / 0.7085 GB, free: 50.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.531, allocations: 21.67 kB / 0.7085 GB, free: 50.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.531, allocations: 10.84 kB / 0.7086 GB, free: 50.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006214/0.5316, allocations: 479.7 kB / 0.709 GB, free: 49.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.473e-06/0.5316, allocations: 0 / 0.709 GB, free: 49.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001314/0.5329, allocations: 357.2 kB / 0.7094 GB, free: 49.85 MB / 490.7 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 (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.0005497/0.5335, allocations: 241.2 kB / 0.7096 GB, free: 49.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.5352, allocations: 489.4 kB / 0.71 GB, free: 49.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5353, allocations: 1.094 kB / 0.7101 GB, free: 49.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.5357, allocations: 135.1 kB / 0.7102 GB, free: 49.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.5377, allocations: 376.7 kB / 0.7105 GB, free: 49.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.5396, allocations: 1.553 MB / 0.7121 GB, free: 48.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.5401, allocations: 0.9411 MB / 0.713 GB, free: 47.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004832/0.5406, allocations: 120.4 kB / 0.7131 GB, free: 47.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.5407, allocations: 52.45 kB / 0.7131 GB, free: 47.73 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5407, allocations: 0 / 0.7131 GB, free: 47.73 MB / 490.7 MB Notification: Performance of Templates: time 0.02389/0.5646, allocations: 12.71 MB / 0.7255 GB, free: 42.97 MB / 490.7 MB 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)