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.001244/0.001244, allocations: 106.6 kB / 16.41 MB, free: 6.477 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.0012/0.001201, allocations: 191 kB / 17.34 MB, free: 5.754 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8239/0.8239, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 71.77 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.202, allocations: 80.91 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.6355/0.8375, allocations: 154.4 MB / 0.8161 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0437/0.8813, allocations: 30.37 MB / 0.8457 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008041/0.8894, allocations: 141 kB / 0.8458 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.8937, allocations: 1.035 MB / 0.8469 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.9046, allocations: 3.163 MB / 0.8499 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007326/0.912, allocations: 2.509 MB / 0.8524 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009998/0.922, allocations: 5.385 MB / 0.8577 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004902/0.9269, allocations: 2.236 MB / 0.8598 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00754/0.9345, allocations: 2.743 MB / 0.8625 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00439/0.9389, allocations: 1.965 MB / 0.8644 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.94, allocations: 212 kB / 0.8646 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.9437, allocations: 1.092 MB / 0.8657 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.945, allocations: 0.5448 MB / 0.8662 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003031/0.948, allocations: 1.271 MB / 0.8675 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006915/0.955, allocations: 3.325 MB / 0.8707 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.955, allocations: 7.938 kB / 0.8707 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.884e-06/0.955, allocations: 3.938 kB / 0.8707 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001543/0.9552, allocations: 4 kB / 0.8707 GB, free: 4.809 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.007315/0.9625, allocations: 2.783 MB / 0.8735 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.9626, allocations: 13.05 kB / 0.8735 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/0.9635, allocations: 264.8 kB / 0.8737 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.9672, allocations: 1.516 MB / 0.8752 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.9674, allocations: 102.4 kB / 0.8753 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.9678, allocations: 136 kB / 0.8754 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.9709, allocations: 1.171 MB / 0.8766 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.971, allocations: 0 / 0.8766 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.9712, allocations: 44 kB / 0.8766 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.9712, allocations: 28 kB / 0.8766 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.9734, allocations: 1.013 MB / 0.8776 GB, free: 13.57 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.01235/0.9858, allocations: 6.324 MB / 0.8838 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.9869, allocations: 0.5663 MB / 0.8844 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.9876, allocations: 389.5 kB / 0.8847 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.988, allocations: 0.5031 MB / 0.8852 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.9881, allocations: 39.12 kB / 0.8853 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001601/0.9897, allocations: 234.8 kB / 0.8855 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 6.632e-06/0.9897, allocations: 0 / 0.8855 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002849/0.9926, allocations: 1.16 MB / 0.8866 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.9927, allocations: 67.91 kB / 0.8867 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003494/0.9962, allocations: 1.892 MB / 0.8885 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.9964, allocations: 45.7 kB / 0.8886 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.9974, allocations: 0.9224 MB / 0.8895 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.9977, allocations: 205 kB / 0.8897 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006979/0.9984, allocations: 306.5 kB / 0.89 GB, free: 288 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9986, allocations: 345.9 kB / 0.8903 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009225/0.9995, allocations: 461.9 kB / 0.8907 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.001, allocations: 0.6957 MB / 0.8914 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/1.003, allocations: 0.9774 MB / 0.8924 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/1.003, allocations: 4 kB / 0.8924 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003003/1.006, allocations: 1.424 MB / 0.8938 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.006, allocations: 4 kB / 0.8938 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/1.006, allocations: 8 kB / 0.8938 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/1.006, allocations: 8 kB / 0.8938 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.007, allocations: 299.5 kB / 0.8941 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-05/1.007, allocations: 11.94 kB / 0.8941 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.009, allocations: 87.86 kB / 0.8942 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.009, allocations: 55.95 kB / 0.8942 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001608/1.011, allocations: 0.7212 MB / 0.8949 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/1.012, allocations: 0.6698 MB / 0.8956 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001635/1.014, allocations: 0.9383 MB / 0.8965 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/1.014, allocations: 0 / 0.8965 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002821/1.016, allocations: 1.373 MB / 0.8978 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.017, allocations: 12.31 kB / 0.8978 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.017, allocations: 4 kB / 0.8978 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.017, allocations: 8 kB / 0.8979 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/1.018, allocations: 287.5 kB / 0.8981 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/1.018, allocations: 11.94 kB / 0.8981 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.02, allocations: 95.89 kB / 0.8982 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.02, allocations: 55.95 kB / 0.8983 GB, free: 7.488 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.0003597/1.02, allocations: 244 kB / 0.8985 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/1.021, allocations: 201.4 kB / 0.8987 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/1.023, allocations: 1.092 MB / 0.8998 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/1.023, allocations: 11.94 kB / 0.8998 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.023, allocations: 0 / 0.8998 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.023, allocations: 3.984 kB / 0.8998 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/1.029, allocations: 2.433 MB / 0.9022 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.029, allocations: 4 kB / 0.9022 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/1.03, allocations: 140 kB / 0.9023 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.03, allocations: 4 kB / 0.9023 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/1.03, allocations: 20.09 kB / 0.9023 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/1.03, allocations: 7.984 kB / 0.9023 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.03, allocations: 0 / 0.9023 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/1.032, allocations: 1.078 MB / 0.9034 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009182/1.033, allocations: 362.2 kB / 0.9037 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/1.033, allocations: 15.94 kB / 0.9037 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.034, allocations: 47.95 kB / 0.9038 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.034, allocations: 48.53 kB / 0.9038 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/1.034, allocations: 31.92 kB / 0.9039 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002366/1.037, allocations: 1.244 MB / 0.9051 GB, free: 352 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0 / 0.9051 GB, free: 352 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002907/1.04, allocations: 0.9083 MB / 0.906 GB, free: 15.43 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.0009147/1.04, allocations: 339.9 kB / 0.9063 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003593/1.044, allocations: 1.652 MB / 0.9079 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.044, allocations: 0 / 0.9079 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/1.045, allocations: 413 kB / 0.9083 GB, free: 13.06 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005334/1.05, allocations: 1.079 MB / 0.9094 GB, free: 12 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/1.056, allocations: 3.035 MB / 0.9123 GB, free: 8.906 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/1.058, allocations: 1.409 MB / 0.9137 GB, free: 7.465 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/1.059, allocations: 163.4 kB / 0.9139 GB, free: 7.305 MB / 0.67 GB Notification: Performance of SimCode: time 2.965e-06/1.059, allocations: 0 / 0.9139 GB, free: 7.305 MB / 0.67 GB Notification: Performance of Templates: time 0.05132/1.11, allocations: 31.36 MB / 0.9445 GB, free: 8.211 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)