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.006659/0.006659, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001325/0.001325, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8444/0.8444, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 59.56 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1899, allocations: 80.93 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03748/0.2274, allocations: 30.74 MB / 0.6947 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.2429, allocations: 10.85 MB / 0.7053 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.2448, allocations: 27.81 kB / 0.7053 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.2466, allocations: 393.3 kB / 0.7057 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.2507, allocations: 1.153 MB / 0.7068 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.2535, allocations: 0.85 MB / 0.7076 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003362/0.2569, allocations: 2.065 MB / 0.7096 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.2584, allocations: 0.6817 MB / 0.7103 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.2609, allocations: 0.9842 MB / 0.7113 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.2624, allocations: 0.6729 MB / 0.7119 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.2626, allocations: 52 kB / 0.712 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.2644, allocations: 0.6122 MB / 0.7126 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.2647, allocations: 163.3 kB / 0.7127 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008116/0.2655, allocations: 441.6 kB / 0.7131 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.2675, allocations: 1.101 MB / 0.7142 GB, free: 2.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2675, allocations: 4 kB / 0.7142 GB, free: 2.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2675, allocations: 4 kB / 0.7142 GB, free: 2.848 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.2676, allocations: 0 / 0.7142 GB, free: 2.848 MB / 0.545 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.002177/0.2697, allocations: 1.194 MB / 0.7154 GB, free: 1.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2698, allocations: 9.109 kB / 0.7154 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.27, allocations: 104.3 kB / 0.7155 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.2711, allocations: 0.5928 MB / 0.7161 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.2712, allocations: 41 kB / 0.7161 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.2713, allocations: 59.98 kB / 0.7162 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008807/0.2722, allocations: 410.4 kB / 0.7166 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2722, allocations: 0 / 0.7166 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.2723, allocations: 20 kB / 0.7166 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.2723, allocations: 12 kB / 0.7166 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.273, allocations: 303.8 kB / 0.7169 GB, free: 24 kB / 0.545 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.003268/0.2762, allocations: 1.858 MB / 0.7187 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.2766, allocations: 182.3 kB / 0.7189 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.2768, allocations: 76.81 kB / 0.7189 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.2771, allocations: 340.4 kB / 0.7193 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2771, allocations: 38.56 kB / 0.7193 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.2772, allocations: 0 / 0.7193 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0007739/0.2779, allocations: 307.5 kB / 0.7196 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.278, allocations: 63.34 kB / 0.7197 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.2789, allocations: 0.6881 MB / 0.7203 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.279, allocations: 29.7 kB / 0.7204 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.2793, allocations: 369.2 kB / 0.7207 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.2794, allocations: 71.42 kB / 0.7208 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.2796, allocations: 90.02 kB / 0.7209 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.2798, allocations: 382.7 kB / 0.7212 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.28, allocations: 114.3 kB / 0.7213 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.2804, allocations: 183.5 kB / 0.7215 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.2809, allocations: 240.9 kB / 0.7217 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2809, allocations: 0 / 0.7217 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007865/0.2817, allocations: 398.6 kB / 0.7221 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2817, allocations: 7.984 kB / 0.7221 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2817, allocations: 4 kB / 0.7221 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2817, allocations: 0 / 0.7221 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.2828, allocations: 163.9 kB / 0.7223 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.2842, allocations: 2.368 MB / 0.7246 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.2847, allocations: 51.64 kB / 0.7247 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.2847, allocations: 16.19 kB / 0.7247 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004265/0.2852, allocations: 255.8 kB / 0.7249 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003018/0.2855, allocations: 171.5 kB / 0.7251 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004465/0.2859, allocations: 224.8 kB / 0.7253 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.286, allocations: 0 / 0.7253 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007311/0.2867, allocations: 389.1 kB / 0.7257 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2867, allocations: 11.88 kB / 0.7257 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.2867, allocations: 4 kB / 0.7257 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-06/0.2867, allocations: 0 / 0.7257 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.2872, allocations: 107.8 kB / 0.7258 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.2872, allocations: 4 kB / 0.7258 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.2877, allocations: 39.81 kB / 0.7258 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.2877, allocations: 15.98 kB / 0.7258 GB, free: 6.367 MB / 0.5606 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.0001525/0.2879, allocations: 201.8 kB / 0.726 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.288, allocations: 75.47 kB / 0.7261 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.2887, allocations: 300 kB / 0.7264 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.2887, allocations: 4 kB / 0.7264 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2887, allocations: 0 / 0.7264 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2887, allocations: 3.938 kB / 0.7264 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.2901, allocations: 0.8956 MB / 0.7273 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2901, allocations: 0 / 0.7273 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.2904, allocations: 75.95 kB / 0.7273 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2904, allocations: 0 / 0.7273 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2904, allocations: 8 kB / 0.7274 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.2917, allocations: 2.36 MB / 0.7297 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2917, allocations: 0 / 0.7297 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.2923, allocations: 409.5 kB / 0.73 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.2925, allocations: 168.5 kB / 0.7302 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.2926, allocations: 7.984 kB / 0.7302 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.293, allocations: 15.98 kB / 0.7302 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.293, allocations: 23.91 kB / 0.7303 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2931, allocations: 4 kB / 0.7303 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006058/0.2937, allocations: 483 kB / 0.7307 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2937, allocations: 0 / 0.7307 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000927/0.2946, allocations: 351.2 kB / 0.7311 GB, free: 0.8086 MB / 0.5606 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.0005979/0.2952, allocations: 249.2 kB / 0.7313 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.297, allocations: 0.4919 MB / 0.7318 GB, free: 76 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.297, allocations: 0 / 0.7318 GB, free: 76 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.2974, allocations: 128.2 kB / 0.7319 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.299, allocations: 335.2 kB / 0.7322 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.301, allocations: 1.126 MB / 0.7333 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3016, allocations: 0.9412 MB / 0.7342 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004521/0.3021, allocations: 117.2 kB / 0.7343 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.3022, allocations: 51.42 kB / 0.7344 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.3022, allocations: 3.938 kB / 0.7344 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.02311/0.3253, allocations: 12.63 MB / 0.7467 GB, free: 0.8945 MB / 0.5762 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)