Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009488/0.0009488, allocations: 92.95 kB / 16.02 MB, free: 84 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.001094/0.001094, allocations: 183.8 kB / 16.92 MB, free: 6.934 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005586/0.0005586, allocations: 12 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4634, allocations: 79.29 MB / 0.5707 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1646/0.6281, allocations: 151 MB / 0.7182 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04373/0.6719, allocations: 30.15 MB / 0.7477 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005937/0.6778, allocations: 123.1 kB / 0.7478 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003544/0.6814, allocations: 0.8233 MB / 0.7486 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009813/0.6912, allocations: 2.893 MB / 0.7514 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006422/0.6977, allocations: 2.304 MB / 0.7537 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00948/0.7072, allocations: 7.4 MB / 0.7609 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003563/0.7108, allocations: 1.856 MB / 0.7627 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005576/0.7164, allocations: 2.364 MB / 0.765 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.7196, allocations: 1.91 MB / 0.7669 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.72, allocations: 96 kB / 0.767 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.7225, allocations: 0.9319 MB / 0.7679 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.7231, allocations: 441.9 kB / 0.7683 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.7252, allocations: 1.148 MB / 0.7694 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.7291, allocations: 3.135 MB / 0.7725 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7291, allocations: 0 / 0.7725 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7292, allocations: 0 / 0.7725 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.471e-05/0.7292, allocations: 0 / 0.7725 GB, free: 13.47 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.004352/0.7336, allocations: 2.34 MB / 0.7748 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.7336, allocations: 12.03 kB / 0.7748 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.7341, allocations: 260.9 kB / 0.775 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.7364, allocations: 1.457 MB / 0.7764 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.7365, allocations: 102.3 kB / 0.7765 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.7367, allocations: 136 kB / 0.7767 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.7389, allocations: 1.167 MB / 0.7778 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.7389, allocations: 3.938 kB / 0.7778 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.739, allocations: 44 kB / 0.7779 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.7391, allocations: 35.94 kB / 0.7779 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.741, allocations: 1.02 MB / 0.7789 GB, free: 6.727 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.009726/0.7507, allocations: 6.355 MB / 0.7851 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.7517, allocations: 0.564 MB / 0.7856 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.7524, allocations: 390.4 kB / 0.786 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.7528, allocations: 0.507 MB / 0.7865 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.7529, allocations: 39.12 kB / 0.7866 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001664/0.7546, allocations: 330.7 kB / 0.7869 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=58): time 3.316e-06/0.7546, allocations: 0 / 0.7869 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58): time 0.002108/0.7567, allocations: 1.141 MB / 0.788 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.7567, allocations: 59.97 kB / 0.788 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.7592, allocations: 1.904 MB / 0.7899 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.525e-05/0.7593, allocations: 45.7 kB / 0.7899 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.7601, allocations: 0.9185 MB / 0.7908 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.7602, allocations: 209 kB / 0.791 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.7604, allocations: 121.6 kB / 0.7912 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7606, allocations: 341.9 kB / 0.7915 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/0.7614, allocations: 438.4 kB / 0.7919 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009997/0.7624, allocations: 0.6801 MB / 0.7926 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.7639, allocations: 0.9579 MB / 0.7935 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7639, allocations: 0 / 0.7935 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002341/0.7663, allocations: 1.389 MB / 0.7949 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.7664, allocations: 190.6 kB / 0.795 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.7665, allocations: 7.938 kB / 0.795 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.7665, allocations: 8 kB / 0.7951 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.7677, allocations: 283.5 kB / 0.7953 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.7677, allocations: 8 kB / 0.7953 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.7694, allocations: 147.6 kB / 0.7955 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7695, allocations: 63.95 kB / 0.7955 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.7695, allocations: 4 kB / 0.7955 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001941/0.7715, allocations: 1.124 MB / 0.7966 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7715, allocations: 4 kB / 0.7966 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.7715, allocations: 11.98 kB / 0.7966 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7726, allocations: 268 kB / 0.7969 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.7726, allocations: 19.92 kB / 0.7969 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.774, allocations: 139.7 kB / 0.7971 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-05/0.7741, allocations: 55.95 kB / 0.7971 GB, free: 3.211 MB / 0.6231 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 (144): * Single equations (assignments): 144 * 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.0007699/0.7749, allocations: 452.7 kB / 0.7975 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.7751, allocations: 197.5 kB / 0.7977 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.7771, allocations: 1.079 MB / 0.7988 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/0.7771, allocations: 8 kB / 0.7988 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7771, allocations: 0 / 0.7988 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.7771, allocations: 7.984 kB / 0.7988 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.7806, allocations: 2.406 MB / 0.8011 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.7806, allocations: 4 kB / 0.8012 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.7812, allocations: 139.8 kB / 0.8013 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.7812, allocations: 8 kB / 0.8013 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.7813, allocations: 15.98 kB / 0.8013 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.7813, allocations: 8 kB / 0.8013 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7813, allocations: 4 kB / 0.8013 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.7827, allocations: 1.066 MB / 0.8024 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005453/0.7832, allocations: 382.1 kB / 0.8027 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.7834, allocations: 16 kB / 0.8027 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008943/0.7843, allocations: 103.7 kB / 0.8028 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.7844, allocations: 48.53 kB / 0.8029 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7845, allocations: 23.98 kB / 0.8029 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001587/0.7861, allocations: 1.256 MB / 0.8041 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7861, allocations: 0 / 0.8041 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002034/0.7882, allocations: 0.8926 MB / 0.805 GB, free: 10.95 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.0006619/0.7889, allocations: 345.4 kB / 0.8053 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002579/0.7914, allocations: 1.583 MB / 0.8069 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7915, allocations: 0 / 0.8069 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.7921, allocations: 408.6 kB / 0.8073 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/0.7977, allocations: 1.128 MB / 0.8084 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.8024, allocations: 3.718 MB / 0.812 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009012/0.8033, allocations: 1.405 MB / 0.8134 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001545/0.8049, allocations: 401.3 kB / 0.8138 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.8052, allocations: 163.4 kB / 0.8139 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of SimCode: time 1.844e-06/0.8053, allocations: 0 / 0.8139 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of Templates: time 0.3734/1.179, allocations: 37 MB / 0.85 GB, free: 207.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)