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.001273/0.001273, allocations: 107 kB / 16.36 MB, free: 6.336 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.001172/0.001172, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8111/0.8111, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3882, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1411/0.5293, allocations: 154.4 MB / 0.7322 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.397/0.9264, allocations: 30.36 MB / 0.7619 GB, free: 38.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005536/0.932, allocations: 140.7 kB / 0.762 GB, free: 38.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.935, allocations: 1.039 MB / 0.763 GB, free: 38.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009372/0.9444, allocations: 3.161 MB / 0.7661 GB, free: 38.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006701/0.9512, allocations: 2.518 MB / 0.7686 GB, free: 38.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007949/0.9591, allocations: 5.39 MB / 0.7738 GB, free: 38.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.9625, allocations: 2.23 MB / 0.776 GB, free: 38.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005825/0.9683, allocations: 2.685 MB / 0.7786 GB, free: 38.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.972, allocations: 1.964 MB / 0.7806 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005418/0.9726, allocations: 212.9 kB / 0.7808 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.9752, allocations: 1.093 MB / 0.7818 GB, free: 37.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.9757, allocations: 0.5532 MB / 0.7824 GB, free: 37.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.9774, allocations: 1.269 MB / 0.7836 GB, free: 37.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.982, allocations: 3.317 MB / 0.7869 GB, free: 36.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.9821, allocations: 11.16 kB / 0.7869 GB, free: 36.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9821, allocations: 2.391 kB / 0.7869 GB, free: 36.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.539e-05/0.9821, allocations: 2.156 kB / 0.7869 GB, free: 36.96 MB / 0.5762 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.005274/0.9874, allocations: 2.779 MB / 0.7896 GB, free: 35.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.9875, allocations: 13.56 kB / 0.7896 GB, free: 35.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.9879, allocations: 264.8 kB / 0.7898 GB, free: 35.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.9903, allocations: 1.504 MB / 0.7913 GB, free: 34.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.9904, allocations: 104.4 kB / 0.7914 GB, free: 34.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.9906, allocations: 144.9 kB / 0.7916 GB, free: 34.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.9924, allocations: 1.155 MB / 0.7927 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.9925, allocations: 5.781 kB / 0.7927 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.9926, allocations: 45.88 kB / 0.7927 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.9926, allocations: 27.94 kB / 0.7928 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.9942, allocations: 1.015 MB / 0.7938 GB, free: 34.86 MB / 0.5762 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.008159/1.002, allocations: 6.32 MB / 0.7999 GB, free: 31.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/1.003, allocations: 0.5742 MB / 0.8005 GB, free: 31.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/1.004, allocations: 385.5 kB / 0.8009 GB, free: 31.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/1.004, allocations: 0.5041 MB / 0.8013 GB, free: 30.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/1.004, allocations: 40.44 kB / 0.8014 GB, free: 30.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001148/1.005, allocations: 238.1 kB / 0.8016 GB, free: 30.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=58): time 3.436e-06/1.005, allocations: 0 / 0.8016 GB, free: 30.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58): time 0.001855/1.007, allocations: 1.162 MB / 0.8027 GB, free: 30.35 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/1.007, allocations: 57.69 kB / 0.8028 GB, free: 30.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/1.009, allocations: 1.892 MB / 0.8046 GB, free: 29.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/1.009, allocations: 45.33 kB / 0.8047 GB, free: 29.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/1.01, allocations: 0.923 MB / 0.8056 GB, free: 29.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.01, allocations: 207.4 kB / 0.8058 GB, free: 29.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/1.01, allocations: 300.3 kB / 0.8061 GB, free: 29.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/1.01, allocations: 351.1 kB / 0.8064 GB, free: 28.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/1.011, allocations: 458.6 kB / 0.8068 GB, free: 28.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008748/1.012, allocations: 0.6907 MB / 0.8075 GB, free: 28.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/1.013, allocations: 0.9841 MB / 0.8085 GB, free: 28.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.013, allocations: 0 / 0.8085 GB, free: 28.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002232/1.016, allocations: 1.429 MB / 0.8099 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.016, allocations: 5.5 kB / 0.8099 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.016, allocations: 5.344 kB / 0.8099 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.016, allocations: 7.844 kB / 0.8099 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.017, allocations: 291.7 kB / 0.8102 GB, free: 27.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/1.017, allocations: 12.41 kB / 0.8102 GB, free: 27.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.018, allocations: 86.7 kB / 0.8103 GB, free: 27.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.019, allocations: 62.23 kB / 0.8103 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/1.02, allocations: 0.7185 MB / 0.811 GB, free: 27.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008178/1.021, allocations: 0.6776 MB / 0.8117 GB, free: 27.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001297/1.022, allocations: 0.9422 MB / 0.8126 GB, free: 26.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/1.022, allocations: 2.562 kB / 0.8126 GB, free: 26.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001988/1.024, allocations: 1.369 MB / 0.8139 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.024, allocations: 14.5 kB / 0.814 GB, free: 25.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.024, allocations: 4 kB / 0.814 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/1.024, allocations: 8 kB / 0.814 GB, free: 25.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.025, allocations: 282 kB / 0.8142 GB, free: 25.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.025, allocations: 11.47 kB / 0.8143 GB, free: 25.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.027, allocations: 95.81 kB / 0.8143 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.605e-05/1.027, allocations: 63.94 kB / 0.8144 GB, free: 25.41 MB / 0.5762 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.0002743/1.027, allocations: 243.9 kB / 0.8146 GB, free: 25.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/1.027, allocations: 201.4 kB / 0.8148 GB, free: 24.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.029, allocations: 1.093 MB / 0.8159 GB, free: 23.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.029, allocations: 8 kB / 0.8159 GB, free: 23.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.029, allocations: 0 / 0.8159 GB, free: 23.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.029, allocations: 7.984 kB / 0.8159 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/1.032, allocations: 2.434 MB / 0.8183 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.032, allocations: 6.719 kB / 0.8183 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/1.032, allocations: 137.4 kB / 0.8184 GB, free: 21.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.032, allocations: 7.938 kB / 0.8184 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/1.033, allocations: 23.94 kB / 0.8185 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.033, allocations: 10.61 kB / 0.8185 GB, free: 21.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.033, allocations: 3.562 kB / 0.8185 GB, free: 21.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.034, allocations: 1.065 MB / 0.8195 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/1.034, allocations: 362.2 kB / 0.8199 GB, free: 19.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/1.035, allocations: 15.94 kB / 0.8199 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/1.035, allocations: 43.95 kB / 0.8199 GB, free: 19.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.035, allocations: 47.12 kB / 0.82 GB, free: 19.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/1.035, allocations: 31.98 kB / 0.82 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001255/1.037, allocations: 1.244 MB / 0.8212 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.037, allocations: 0 / 0.8212 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001867/1.039, allocations: 0.9044 MB / 0.8221 GB, free: 17.48 MB / 0.5762 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.0006925/1.039, allocations: 343.1 kB / 0.8224 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00275/1.042, allocations: 1.65 MB / 0.824 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.042, allocations: 1.5 kB / 0.824 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/1.043, allocations: 416.5 kB / 0.8244 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/1.047, allocations: 1.082 MB / 0.8255 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/1.051, allocations: 2.995 MB / 0.8284 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/1.052, allocations: 1.405 MB / 0.8298 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001811/1.054, allocations: 412.1 kB / 0.8302 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/1.054, allocations: 163.4 kB / 0.8303 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of SimCode: time 1.793e-06/1.054, allocations: 3.938 kB / 0.8303 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.06029/1.115, allocations: 38.37 MB / 0.8678 GB, free: 3.508 MB / 0.6075 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)