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.005687/0.005687, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001306/0.001306, allocations: 198.7 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8347/0.8347, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 66.94 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.189, allocations: 80.92 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.5551/0.7441, allocations: 154.4 MB / 0.8154 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04651/0.7907, allocations: 30.36 MB / 0.845 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00807/0.7988, allocations: 139.9 kB / 0.8452 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004028/0.8029, allocations: 1.06 MB / 0.8462 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.8134, allocations: 3.322 MB / 0.8495 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006476/0.8199, allocations: 2.504 MB / 0.8519 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008112/0.828, allocations: 5.41 MB / 0.8572 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00349/0.8315, allocations: 2.226 MB / 0.8594 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006513/0.838, allocations: 2.766 MB / 0.8621 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.8419, allocations: 1.957 MB / 0.864 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005009/0.8424, allocations: 223.9 kB / 0.8642 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.8454, allocations: 1.084 MB / 0.8652 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005488/0.8459, allocations: 0.5526 MB / 0.8658 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.8474, allocations: 1.271 MB / 0.867 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.8519, allocations: 3.321 MB / 0.8703 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.8519, allocations: 0 / 0.8703 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8519, allocations: 0 / 0.8703 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.983e-05/0.8519, allocations: 7.984 kB / 0.8703 GB, free: 4.625 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.0049/0.8568, allocations: 2.795 MB / 0.873 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.8569, allocations: 9.109 kB / 0.873 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000447/0.8574, allocations: 264.8 kB / 0.8733 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.8597, allocations: 1.512 MB / 0.8747 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/0.8598, allocations: 102.3 kB / 0.8748 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.86, allocations: 140 kB / 0.875 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.8622, allocations: 1.167 MB / 0.8761 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.8622, allocations: 0 / 0.8761 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.8623, allocations: 44 kB / 0.8762 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.8623, allocations: 32 kB / 0.8762 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.8642, allocations: 1.016 MB / 0.8772 GB, free: 13.38 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.009674/0.8739, allocations: 6.312 MB / 0.8833 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009543/0.8749, allocations: 0.5663 MB / 0.8839 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.8754, allocations: 385.6 kB / 0.8843 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/0.8759, allocations: 0.5031 MB / 0.8848 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.8759, allocations: 47.06 kB / 0.8848 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001233/0.8772, allocations: 234.8 kB / 0.885 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=58): time 4.569e-06/0.8772, allocations: 3.984 kB / 0.885 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of matching and sorting (n=58): time 0.002127/0.8793, allocations: 1.164 MB / 0.8862 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.8794, allocations: 59.91 kB / 0.8862 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.8817, allocations: 1.892 MB / 0.8881 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.622e-05/0.8818, allocations: 41.7 kB / 0.8881 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.8826, allocations: 0.9263 MB / 0.889 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.8828, allocations: 205 kB / 0.8892 GB, free: 408 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.8832, allocations: 306.5 kB / 0.8895 GB, free: 96 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8834, allocations: 341.9 kB / 0.8898 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.8842, allocations: 457.9 kB / 0.8903 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.8852, allocations: 0.7074 MB / 0.891 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.8868, allocations: 0.9735 MB / 0.8919 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.8868, allocations: 4 kB / 0.8919 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002491/0.8893, allocations: 1.42 MB / 0.8933 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.8894, allocations: 8 kB / 0.8933 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.8894, allocations: 384 / 0.8933 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.8894, allocations: 19.94 kB / 0.8933 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.8907, allocations: 295.5 kB / 0.8936 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.8907, allocations: 8 kB / 0.8936 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.8922, allocations: 87.77 kB / 0.8937 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.8923, allocations: 59.95 kB / 0.8938 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001342/0.8937, allocations: 0.7173 MB / 0.8945 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/0.8948, allocations: 0.6684 MB / 0.8951 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001581/0.8964, allocations: 0.9383 MB / 0.896 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.8964, allocations: 0 / 0.896 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002384/0.8988, allocations: 1.377 MB / 0.8974 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8988, allocations: 8 kB / 0.8974 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8988, allocations: 7.984 kB / 0.8974 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.8988, allocations: 11.94 kB / 0.8974 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.9, allocations: 283.9 kB / 0.8977 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.9, allocations: 15.94 kB / 0.8977 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.9015, allocations: 95.91 kB / 0.8978 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.9016, allocations: 59.95 kB / 0.8978 GB, free: 7.293 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.0004472/0.9021, allocations: 240 kB / 0.8981 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.9024, allocations: 201.4 kB / 0.8983 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.9047, allocations: 1.092 MB / 0.8993 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.9047, allocations: 11.94 kB / 0.8993 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9048, allocations: 0 / 0.8993 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.9048, allocations: 3.984 kB / 0.8993 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/0.9084, allocations: 2.433 MB / 0.9017 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.9084, allocations: 4 kB / 0.9017 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.909, allocations: 135.8 kB / 0.9018 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.909, allocations: 4 kB / 0.9018 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.9091, allocations: 20 kB / 0.9019 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.9091, allocations: 7.984 kB / 0.9019 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9091, allocations: 4.188 kB / 0.9019 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.9106, allocations: 1.07 MB / 0.9029 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.9112, allocations: 362.2 kB / 0.9033 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.9114, allocations: 15.94 kB / 0.9033 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.9123, allocations: 39.95 kB / 0.9033 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.9124, allocations: 48.59 kB / 0.9034 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.9125, allocations: 35.92 kB / 0.9034 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001737/0.9142, allocations: 1.244 MB / 0.9046 GB, free: 172 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9142, allocations: 0 / 0.9046 GB, free: 172 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002207/0.9164, allocations: 0.9083 MB / 0.9055 GB, free: 15.26 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.0008543/0.9173, allocations: 340.5 kB / 0.9058 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00305/0.9204, allocations: 1.661 MB / 0.9075 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.9204, allocations: 0 / 0.9075 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.921, allocations: 411.5 kB / 0.9078 GB, free: 12.87 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/0.9256, allocations: 1.082 MB / 0.9089 GB, free: 11.81 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.9304, allocations: 2.983 MB / 0.9118 GB, free: 8.773 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009887/0.9314, allocations: 1.405 MB / 0.9132 GB, free: 7.336 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001797/0.9332, allocations: 409.3 kB / 0.9136 GB, free: 6.938 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.9336, allocations: 159.4 kB / 0.9137 GB, free: 6.781 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/0.9336, allocations: 0 / 0.9137 GB, free: 6.781 MB / 0.67 GB Notification: Performance of Templates: time 0.0665/1, allocations: 38.59 MB / 0.9514 GB, free: 0.6016 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)