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.001515/0.001515, allocations: 101.9 kB / 16.4 MB, free: 6.406 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.001684/0.001684, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.361/1.361, allocations: 222.9 MB / 241 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.858/0.858, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.83 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1589, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5511/0.71, allocations: 154.4 MB / 0.8161 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04575/0.7558, allocations: 30.36 MB / 0.8457 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008106/0.764, allocations: 141.9 kB / 0.8458 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.7685, allocations: 1.031 MB / 0.8468 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.7796, allocations: 3.174 MB / 0.8499 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007066/0.7867, allocations: 2.507 MB / 0.8524 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009304/0.796, allocations: 5.393 MB / 0.8577 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004509/0.8005, allocations: 2.225 MB / 0.8598 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006995/0.8076, allocations: 2.751 MB / 0.8625 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004114/0.8117, allocations: 1.965 MB / 0.8644 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009752/0.8127, allocations: 212 kB / 0.8646 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.8162, allocations: 1.084 MB / 0.8657 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.8173, allocations: 0.5526 MB / 0.8662 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.8202, allocations: 1.271 MB / 0.8675 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006198/0.8264, allocations: 3.325 MB / 0.8707 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.8264, allocations: 3.984 kB / 0.8707 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.896e-06/0.8264, allocations: 0 / 0.8707 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000127/0.8266, allocations: 3.938 kB / 0.8707 GB, free: 4.859 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.006909/0.8335, allocations: 2.787 MB / 0.8735 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.8335, allocations: 13.11 kB / 0.8735 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.8344, allocations: 264.8 kB / 0.8737 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.8377, allocations: 1.512 MB / 0.8752 GB, free: 152 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.8378, allocations: 106.3 kB / 0.8753 GB, free: 44 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.8381, allocations: 136 kB / 0.8754 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.8404, allocations: 1.163 MB / 0.8766 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8404, allocations: 8 kB / 0.8766 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.8405, allocations: 44 kB / 0.8766 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.8406, allocations: 28 kB / 0.8766 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.8423, allocations: 1.013 MB / 0.8776 GB, free: 13.62 MB / 0.6387 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.009946/0.8523, allocations: 6.32 MB / 0.8838 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009919/0.8533, allocations: 0.5659 MB / 0.8844 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.8539, allocations: 382.4 kB / 0.8847 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/0.8544, allocations: 0.5109 MB / 0.8852 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8544, allocations: 35.12 kB / 0.8853 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001261/0.8557, allocations: 238.8 kB / 0.8855 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.007e-06/0.8557, allocations: 0 / 0.8855 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002066/0.8578, allocations: 1.16 MB / 0.8866 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.8578, allocations: 63.91 kB / 0.8867 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.8601, allocations: 1.888 MB / 0.8885 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.8603, allocations: 53.7 kB / 0.8886 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.861, allocations: 0.9146 MB / 0.8895 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.8612, allocations: 209 kB / 0.8897 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/0.8616, allocations: 306.5 kB / 0.89 GB, free: 340 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8618, allocations: 349.9 kB / 0.8903 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007875/0.8626, allocations: 453.9 kB / 0.8907 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.8636, allocations: 0.7034 MB / 0.8914 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.8651, allocations: 0.9774 MB / 0.8924 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.8652, allocations: 4 kB / 0.8924 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002501/0.8677, allocations: 1.432 MB / 0.8938 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8677, allocations: 8 kB / 0.8938 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8677, allocations: 4 kB / 0.8938 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.8677, allocations: 11.98 kB / 0.8938 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.869, allocations: 291.5 kB / 0.8941 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.869, allocations: 8 kB / 0.8941 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.8705, allocations: 91.75 kB / 0.8942 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.8706, allocations: 67.88 kB / 0.8942 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00126/0.8719, allocations: 0.7173 MB / 0.8949 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009511/0.8729, allocations: 0.6606 MB / 0.8956 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001432/0.8743, allocations: 0.9344 MB / 0.8965 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/0.8743, allocations: 4 kB / 0.8965 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002292/0.8766, allocations: 1.381 MB / 0.8978 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8766, allocations: 4 kB / 0.8978 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8767, allocations: 7.938 kB / 0.8978 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.8767, allocations: 8.375 kB / 0.8979 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.8778, allocations: 287.5 kB / 0.8981 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.8779, allocations: 11.94 kB / 0.8981 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.8793, allocations: 91.91 kB / 0.8982 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.702e-05/0.8794, allocations: 59.95 kB / 0.8983 GB, free: 7.527 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.0003115/0.8797, allocations: 240 kB / 0.8985 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.8801, allocations: 201.4 kB / 0.8987 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.8821, allocations: 1.091 MB / 0.8998 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.8822, allocations: 11.94 kB / 0.8998 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8822, allocations: 0 / 0.8998 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8822, allocations: 7.984 kB / 0.8998 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.8857, allocations: 2.433 MB / 0.9022 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8857, allocations: 0 / 0.9022 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.8863, allocations: 135.8 kB / 0.9023 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.8863, allocations: 4 kB / 0.9023 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.8863, allocations: 20.19 kB / 0.9023 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.8864, allocations: 7.984 kB / 0.9023 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8864, allocations: 4 kB / 0.9023 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.8878, allocations: 1.066 MB / 0.9034 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.8884, allocations: 366.2 kB / 0.9037 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.8886, allocations: 24 kB / 0.9037 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007717/0.8894, allocations: 31.95 kB / 0.9038 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.8895, allocations: 56.59 kB / 0.9038 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.8896, allocations: 31.86 kB / 0.9039 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001618/0.8912, allocations: 1.248 MB / 0.9051 GB, free: 404 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8912, allocations: 0 / 0.9051 GB, free: 404 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002106/0.8933, allocations: 0.9122 MB / 0.906 GB, free: 15.48 MB / 0.67 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.0006939/0.894, allocations: 342.7 kB / 0.9063 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002693/0.8967, allocations: 1.653 MB / 0.9079 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8967, allocations: 0 / 0.9079 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.8974, allocations: 415.5 kB / 0.9083 GB, free: 13.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/0.9018, allocations: 1.077 MB / 0.9094 GB, free: 12.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.9066, allocations: 3.035 MB / 0.9123 GB, free: 8.949 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/0.9076, allocations: 1.405 MB / 0.9137 GB, free: 7.512 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/0.9082, allocations: 167.4 kB / 0.9139 GB, free: 7.348 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/0.9082, allocations: 0 / 0.9139 GB, free: 7.348 MB / 0.67 GB Notification: Performance of Templates: time 0.04559/0.9538, allocations: 31.04 MB / 0.9442 GB, free: 8.574 MB / 0.7012 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)