Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001138/0.001138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 73.59 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.195, allocations: 80.91 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4817/0.6768, allocations: 154.4 MB / 0.7351 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04639/0.7232, allocations: 30.37 MB / 0.7648 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009145/0.7324, allocations: 143.1 kB / 0.7649 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00467/0.7372, allocations: 1.044 MB / 0.7659 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.7494, allocations: 3.165 MB / 0.769 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007858/0.7573, allocations: 2.459 MB / 0.7714 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009367/0.7667, allocations: 5.364 MB / 0.7767 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005381/0.7721, allocations: 2.231 MB / 0.7788 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.7792, allocations: 2.677 MB / 0.7814 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00445/0.7837, allocations: 1.965 MB / 0.7834 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.7848, allocations: 216 kB / 0.7836 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.7887, allocations: 1.08 MB / 0.7846 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.7898, allocations: 0.5565 MB / 0.7852 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003469/0.7932, allocations: 1.271 MB / 0.7864 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.8001, allocations: 3.275 MB / 0.7896 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.8001, allocations: 4 kB / 0.7896 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.498e-06/0.8001, allocations: 4 kB / 0.7896 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001436/0.8003, allocations: 3.938 kB / 0.7896 GB, free: 11.79 MB / 0.6075 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.00657/0.8069, allocations: 2.79 MB / 0.7923 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.8069, allocations: 8.031 kB / 0.7924 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.8078, allocations: 264.8 kB / 0.7926 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.8109, allocations: 1.449 MB / 0.794 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.811, allocations: 106.3 kB / 0.7941 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.8113, allocations: 136 kB / 0.7942 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.8138, allocations: 1.171 MB / 0.7954 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.8138, allocations: 0 / 0.7954 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.814, allocations: 44 kB / 0.7954 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.814, allocations: 28 kB / 0.7955 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.816, allocations: 1.016 MB / 0.7965 GB, free: 4.613 MB / 0.6075 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.01033/0.8263, allocations: 6.365 MB / 0.8027 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009466/0.8273, allocations: 0.5719 MB / 0.8032 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.8278, allocations: 381 kB / 0.8036 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/0.8283, allocations: 0.507 MB / 0.8041 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.8283, allocations: 39.12 kB / 0.8041 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001303/0.8296, allocations: 234.9 kB / 0.8043 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 6.612e-06/0.8296, allocations: 0 / 0.8043 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002323/0.832, allocations: 1.164 MB / 0.8055 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.832, allocations: 59.91 kB / 0.8055 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.8346, allocations: 1.896 MB / 0.8074 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.8347, allocations: 41.7 kB / 0.8074 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008262/0.8356, allocations: 0.934 MB / 0.8083 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.8358, allocations: 201.1 kB / 0.8085 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004339/0.8362, allocations: 306.5 kB / 0.8088 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8363, allocations: 341.9 kB / 0.8092 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.8371, allocations: 457.9 kB / 0.8096 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.8383, allocations: 0.7045 MB / 0.8103 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.84, allocations: 0.9774 MB / 0.8112 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.84, allocations: 0 / 0.8112 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00295/0.843, allocations: 1.424 MB / 0.8126 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.843, allocations: 8.375 kB / 0.8126 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.843, allocations: 8 kB / 0.8126 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.8431, allocations: 8 kB / 0.8126 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.8443, allocations: 291.5 kB / 0.8129 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.368e-05/0.8444, allocations: 15.88 kB / 0.8129 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.8463, allocations: 84.73 kB / 0.813 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.8465, allocations: 59.95 kB / 0.8131 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001731/0.8482, allocations: 0.7212 MB / 0.8138 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001132/0.8494, allocations: 0.6683 MB / 0.8144 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001625/0.851, allocations: 0.9383 MB / 0.8154 GB, free: 344 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.152e-06/0.851, allocations: 0 / 0.8154 GB, free: 344 kB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00287/0.8539, allocations: 1.373 MB / 0.8167 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8539, allocations: 8 kB / 0.8167 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.8539, allocations: 4 kB / 0.8167 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.854, allocations: 8 kB / 0.8167 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.8552, allocations: 291.9 kB / 0.817 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.8552, allocations: 12 kB / 0.817 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.8571, allocations: 103.7 kB / 0.8171 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.8573, allocations: 55.95 kB / 0.8172 GB, free: 14.48 MB / 0.6387 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.0003628/0.8576, allocations: 240 kB / 0.8174 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005969/0.8582, allocations: 201.5 kB / 0.8176 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.861, allocations: 1.095 MB / 0.8186 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.861, allocations: 12 kB / 0.8187 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.861, allocations: 7.875 kB / 0.8187 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.8611, allocations: 3.984 kB / 0.8187 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.8663, allocations: 2.433 MB / 0.821 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.8663, allocations: 0 / 0.821 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.8669, allocations: 135.8 kB / 0.8212 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.8669, allocations: 4 kB / 0.8212 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.867, allocations: 20 kB / 0.8212 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.867, allocations: 7.984 kB / 0.8212 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.867, allocations: 4 kB / 0.8212 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.8689, allocations: 1.066 MB / 0.8223 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/0.8697, allocations: 362.3 kB / 0.8226 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/0.8702, allocations: 16 kB / 0.8226 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.8713, allocations: 39.95 kB / 0.8226 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.8715, allocations: 48.53 kB / 0.8227 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.8715, allocations: 27.98 kB / 0.8227 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002371/0.8739, allocations: 1.252 MB / 0.8239 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8739, allocations: 4 kB / 0.8239 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003131/0.8771, allocations: 0.9082 MB / 0.8248 GB, free: 6.457 MB / 0.6387 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.0009149/0.878, allocations: 343.2 kB / 0.8252 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003982/0.882, allocations: 1.696 MB / 0.8268 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.882, allocations: 448 / 0.8268 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.8827, allocations: 415.5 kB / 0.8272 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006382/0.8891, allocations: 1.082 MB / 0.8283 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.8961, allocations: 3.044 MB / 0.8312 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.8977, allocations: 1.405 MB / 0.8326 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002538/0.9002, allocations: 404 kB / 0.833 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.9009, allocations: 163.4 kB / 0.8332 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.824e-06/0.9009, allocations: 0 / 0.8332 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.3896/1.291, allocations: 38.41 MB / 0.8707 GB, free: 218.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)