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.007137/0.007137, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001549/0.001549, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8521/0.8521, allocations: 135.1 MB / 425.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 69.94 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1874, allocations: 80.92 MB / 0.6646 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03198/0.2194, allocations: 30.74 MB / 0.6947 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.2342, allocations: 10.85 MB / 0.7053 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.236, allocations: 23.81 kB / 0.7053 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.2373, allocations: 401.3 kB / 0.7057 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.241, allocations: 1.213 MB / 0.7069 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.2436, allocations: 0.8374 MB / 0.7077 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.2465, allocations: 2.073 MB / 0.7097 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.2476, allocations: 0.6778 MB / 0.7104 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.2496, allocations: 1.004 MB / 0.7113 GB, free: 5.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009201/0.2506, allocations: 0.669 MB / 0.712 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.876e-05/0.2507, allocations: 56 kB / 0.712 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.252, allocations: 0.6122 MB / 0.7126 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.2522, allocations: 167.2 kB / 0.7128 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.2527, allocations: 433.7 kB / 0.7132 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.2542, allocations: 1.102 MB / 0.7143 GB, free: 2.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2542, allocations: 8 kB / 0.7143 GB, free: 2.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2542, allocations: 4 kB / 0.7143 GB, free: 2.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.2543, allocations: 0 / 0.7143 GB, free: 2.742 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.001784/0.256, allocations: 1.152 MB / 0.7154 GB, free: 1.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2561, allocations: 9.109 kB / 0.7154 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.2563, allocations: 95.81 kB / 0.7155 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.2573, allocations: 0.5922 MB / 0.7161 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.609e-05/0.2574, allocations: 41 kB / 0.7161 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.2574, allocations: 59.94 kB / 0.7162 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.2582, allocations: 410.4 kB / 0.7166 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2582, allocations: 0 / 0.7166 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.2582, allocations: 20 kB / 0.7166 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2583, allocations: 19.94 kB / 0.7166 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.2589, allocations: 295.9 kB / 0.7169 GB, free: 15.96 MB / 0.5606 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.002729/0.2616, allocations: 1.865 MB / 0.7187 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.262, allocations: 166.5 kB / 0.7189 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2621, allocations: 80.92 kB / 0.719 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/0.2624, allocations: 344.3 kB / 0.7193 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2625, allocations: 38.56 kB / 0.7193 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.2625, allocations: 0 / 0.7193 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0007392/0.2632, allocations: 310.6 kB / 0.7196 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2633, allocations: 59.41 kB / 0.7197 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.2641, allocations: 0.6804 MB / 0.7204 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2641, allocations: 29.7 kB / 0.7204 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.2644, allocations: 364.8 kB / 0.7207 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.2645, allocations: 71 kB / 0.7208 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.2647, allocations: 97.95 kB / 0.7209 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2649, allocations: 378.7 kB / 0.7213 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.2651, allocations: 110.3 kB / 0.7214 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.2655, allocations: 179.5 kB / 0.7215 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.2659, allocations: 240.9 kB / 0.7218 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2659, allocations: 0 / 0.7218 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007552/0.2667, allocations: 398.2 kB / 0.7221 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2667, allocations: 4 kB / 0.7221 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2667, allocations: 4 kB / 0.7221 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2668, allocations: 0 / 0.7221 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/0.2677, allocations: 163.9 kB / 0.7223 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2691, allocations: 2.363 MB / 0.7246 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.2695, allocations: 51.88 kB / 0.7247 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.2696, allocations: 19.98 kB / 0.7247 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004104/0.27, allocations: 247.8 kB / 0.7249 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002849/0.2703, allocations: 179.5 kB / 0.7251 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004338/0.2707, allocations: 220.8 kB / 0.7253 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.2708, allocations: 0 / 0.7253 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006864/0.2715, allocations: 388.6 kB / 0.7257 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2715, allocations: 13.97 kB / 0.7257 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.2715, allocations: 0 / 0.7257 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.2715, allocations: 8.031 kB / 0.7257 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.2719, allocations: 95.88 kB / 0.7258 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2719, allocations: 12.02 kB / 0.7258 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.2723, allocations: 51.66 kB / 0.7258 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.2724, allocations: 12 kB / 0.7259 GB, free: 6.328 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.0001434/0.2725, allocations: 204.2 kB / 0.726 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2726, allocations: 71.09 kB / 0.7261 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006614/0.2733, allocations: 303.8 kB / 0.7264 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.2733, allocations: 4 kB / 0.7264 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2733, allocations: 0 / 0.7264 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2734, allocations: 7.984 kB / 0.7264 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.2746, allocations: 0.8897 MB / 0.7273 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2746, allocations: 0 / 0.7273 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.2749, allocations: 71.88 kB / 0.7274 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.275, allocations: 4.125 kB / 0.7274 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.275, allocations: 8 kB / 0.7274 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.2761, allocations: 2.352 MB / 0.7297 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2761, allocations: 0 / 0.7297 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.2767, allocations: 401.4 kB / 0.73 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.2769, allocations: 168.1 kB / 0.7302 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.2769, allocations: 4 kB / 0.7302 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.2772, allocations: 19.98 kB / 0.7302 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.2773, allocations: 27.91 kB / 0.7303 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2773, allocations: 4 kB / 0.7303 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005486/0.2779, allocations: 479 kB / 0.7307 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2779, allocations: 3.938 kB / 0.7307 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009146/0.2788, allocations: 347.1 kB / 0.7311 GB, free: 0.7852 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.0005433/0.2794, allocations: 250.3 kB / 0.7313 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.2809, allocations: 0.4935 MB / 0.7318 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2809, allocations: 0 / 0.7318 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.2814, allocations: 137.7 kB / 0.7319 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.2827, allocations: 321.1 kB / 0.7322 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2845, allocations: 1.106 MB / 0.7333 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.285, allocations: 0.9295 MB / 0.7342 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00039/0.2854, allocations: 117.2 kB / 0.7343 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.2855, allocations: 47.42 kB / 0.7344 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2855, allocations: 0 / 0.7344 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.02293/0.3085, allocations: 12.64 MB / 0.7467 GB, free: 0.9062 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)