Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004854/0.004854, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001101/0.0011, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7586/0.7586, allocations: 132.2 MB / 422.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 61.88 kB / 0.5814 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 80.21 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4794/0.633, allocations: 154.4 MB / 0.8104 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03741/0.6705, allocations: 30.37 MB / 0.8401 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005353/0.6758, allocations: 142.9 kB / 0.8402 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.6792, allocations: 1.038 MB / 0.8412 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009281/0.6885, allocations: 3.164 MB / 0.8443 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006018/0.6945, allocations: 2.497 MB / 0.8468 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006919/0.7015, allocations: 5.389 MB / 0.852 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.7046, allocations: 2.229 MB / 0.8542 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00621/0.7108, allocations: 2.7 MB / 0.8568 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004174/0.715, allocations: 1.949 MB / 0.8587 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005641/0.7156, allocations: 212 kB / 0.859 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.7187, allocations: 1.1 MB / 0.86 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006123/0.7193, allocations: 0.5525 MB / 0.8606 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.721, allocations: 1.267 MB / 0.8618 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.7257, allocations: 3.35 MB / 0.8651 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7257, allocations: 0 / 0.8651 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7257, allocations: 0 / 0.8651 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.572e-05/0.7258, allocations: 0 / 0.8651 GB, free: 12.61 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004605/0.7304, allocations: 2.863 MB / 0.8679 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7304, allocations: 8.031 kB / 0.8679 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.7309, allocations: 278.3 kB / 0.8681 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.7332, allocations: 1.537 MB / 0.8696 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/0.7333, allocations: 114.3 kB / 0.8698 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.7335, allocations: 140 kB / 0.8699 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.7353, allocations: 1.159 MB / 0.871 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.7354, allocations: 7.875 kB / 0.871 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.7355, allocations: 48 kB / 0.8711 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.7355, allocations: 31.98 kB / 0.8711 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.7373, allocations: 1.013 MB / 0.8721 GB, free: 5.25 MB / 0.6231 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.008624/0.7459, allocations: 6.326 MB / 0.8783 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/0.7468, allocations: 0.5713 MB / 0.8788 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.7474, allocations: 382.4 kB / 0.8792 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.7478, allocations: 0.4992 MB / 0.8797 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.7479, allocations: 43.11 kB / 0.8797 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001117/0.749, allocations: 239.3 kB / 0.8799 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.388e-06/0.749, allocations: 0 / 0.8799 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.001972/0.751, allocations: 1.177 MB / 0.8811 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.751, allocations: 63.91 kB / 0.8812 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.7531, allocations: 1.892 MB / 0.883 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/0.7532, allocations: 49.7 kB / 0.8831 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007149/0.7539, allocations: 0.9237 MB / 0.884 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.7541, allocations: 218.2 kB / 0.8842 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004335/0.7545, allocations: 302.7 kB / 0.8845 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.7547, allocations: 349.9 kB / 0.8848 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007474/0.7554, allocations: 457.9 kB / 0.8852 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/0.7564, allocations: 0.6965 MB / 0.8859 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.7579, allocations: 0.9813 MB / 0.8869 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7579, allocations: 0 / 0.8869 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002224/0.7602, allocations: 1.444 MB / 0.8883 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7602, allocations: 8 kB / 0.8883 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7602, allocations: 0 / 0.8883 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.7602, allocations: 8 kB / 0.8883 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.7614, allocations: 291.5 kB / 0.8886 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.7614, allocations: 8.312 kB / 0.8886 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.7626, allocations: 87.81 kB / 0.8887 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.7627, allocations: 67.94 kB / 0.8887 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001194/0.7639, allocations: 0.7134 MB / 0.8894 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009041/0.7649, allocations: 0.68 MB / 0.8901 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001373/0.7662, allocations: 0.9305 MB / 0.891 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.7663, allocations: 0 / 0.891 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002293/0.7685, allocations: 1.39 MB / 0.8923 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.7686, allocations: 8 kB / 0.8924 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.7686, allocations: 7.984 kB / 0.8924 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.7686, allocations: 11.98 kB / 0.8924 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.7697, allocations: 279.5 kB / 0.8926 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.7697, allocations: 11.94 kB / 0.8927 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.7712, allocations: 91.91 kB / 0.8927 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/0.7713, allocations: 67.89 kB / 0.8928 GB, free: 15.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002888/0.7716, allocations: 239.9 kB / 0.893 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.7719, allocations: 210.6 kB / 0.8932 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.774, allocations: 1.09 MB / 0.8943 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.774, allocations: 15.88 kB / 0.8943 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.774, allocations: 0 / 0.8943 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.7741, allocations: 11.98 kB / 0.8943 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/0.7783, allocations: 2.445 MB / 0.8967 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.7783, allocations: 4.188 kB / 0.8967 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.7788, allocations: 139.8 kB / 0.8969 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.7789, allocations: 4 kB / 0.8969 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.7789, allocations: 19.98 kB / 0.8969 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7789, allocations: 4 kB / 0.8969 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7789, allocations: 0 / 0.8969 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.7805, allocations: 1.087 MB / 0.8979 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.7812, allocations: 367.5 kB / 0.8983 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.7815, allocations: 16 kB / 0.8983 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.7823, allocations: 39.95 kB / 0.8983 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.7824, allocations: 48.59 kB / 0.8984 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.7825, allocations: 27.92 kB / 0.8984 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001895/0.7844, allocations: 1.248 MB / 0.8996 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7844, allocations: 0 / 0.8996 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002347/0.7867, allocations: 0.9125 MB / 0.9005 GB, free: 7.023 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007516/0.7875, allocations: 346.5 kB / 0.9009 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002878/0.7904, allocations: 1.654 MB / 0.9025 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7904, allocations: 0 / 0.9025 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.7911, allocations: 416 kB / 0.9029 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/0.7954, allocations: 1.081 MB / 0.9039 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/0.8006, allocations: 3.056 MB / 0.9069 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.8018, allocations: 1.405 MB / 0.9083 GB, free: 15.06 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001893/0.8037, allocations: 404.4 kB / 0.9087 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.8043, allocations: 167.3 kB / 0.9088 GB, free: 14.5 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/0.8043, allocations: 0 / 0.9088 GB, free: 14.5 MB / 0.67 GB Notification: Performance of Templates: time 0.06373/0.868, allocations: 38.57 MB / 0.9465 GB, free: 8.316 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)