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.001187/0.001187, allocations: 112.6 kB / 17.04 MB, free: 6.133 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.001208/0.001208, allocations: 192 kB / 17.97 MB, free: 5.227 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.218/1.218, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6611/0.6611, allocations: 115.3 MB / 407.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.00119, allocations: 67.34 kB / 0.5582 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1295, allocations: 76.16 MB / 0.6326 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4257/0.5552, allocations: 154.4 MB / 0.7833 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03123/0.5865, allocations: 30.4 MB / 0.813 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005103/0.5916, allocations: 138 kB / 0.8132 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.5943, allocations: 1.045 MB / 0.8142 GB, free: 24.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007306/0.6016, allocations: 3.165 MB / 0.8173 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.6067, allocations: 2.507 MB / 0.8197 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005642/0.6123, allocations: 5.396 MB / 0.825 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002506/0.6148, allocations: 2.236 MB / 0.8272 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/0.6194, allocations: 2.688 MB / 0.8298 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.6222, allocations: 1.965 MB / 0.8317 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/0.6227, allocations: 215.9 kB / 0.8319 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.6249, allocations: 1.092 MB / 0.833 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.6254, allocations: 0.5642 MB / 0.8335 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.6266, allocations: 1.267 MB / 0.8348 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.6295, allocations: 3.329 MB / 0.838 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6295, allocations: 0 / 0.838 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6295, allocations: 0 / 0.838 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.282e-05/0.6296, allocations: 3.938 kB / 0.838 GB, free: 5.586 MB / 0.5762 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.003812/0.6334, allocations: 2.791 MB / 0.8407 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.6334, allocations: 12.03 kB / 0.8408 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.6338, allocations: 264.9 kB / 0.841 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.6357, allocations: 1.516 MB / 0.8425 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.6358, allocations: 102.3 kB / 0.8426 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.636, allocations: 136 kB / 0.8427 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.6377, allocations: 1.156 MB / 0.8438 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.6378, allocations: 0 / 0.8438 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6379, allocations: 55.92 kB / 0.8439 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.6379, allocations: 28 kB / 0.8439 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.6396, allocations: 1.005 MB / 0.8449 GB, free: 14.35 MB / 0.5919 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.009149/0.6488, allocations: 6.321 MB / 0.8511 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.6497, allocations: 0.5808 MB / 0.8517 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/0.6503, allocations: 384.4 kB / 0.852 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.6507, allocations: 0.5031 MB / 0.8525 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.6507, allocations: 39.12 kB / 0.8525 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001275/0.652, allocations: 234.8 kB / 0.8528 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 3.406e-06/0.652, allocations: 0 / 0.8528 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.002069/0.6541, allocations: 1.164 MB / 0.8539 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.6541, allocations: 59.97 kB / 0.854 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.6564, allocations: 1.9 MB / 0.8558 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.6565, allocations: 45.7 kB / 0.8559 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000696/0.6572, allocations: 0.9146 MB / 0.8568 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.6574, allocations: 213 kB / 0.857 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.6578, allocations: 290.6 kB / 0.8572 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6579, allocations: 353.9 kB / 0.8576 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/0.6587, allocations: 449.8 kB / 0.858 GB, free: 288 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009767/0.6597, allocations: 0.6858 MB / 0.8587 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.6612, allocations: 0.9696 MB / 0.8596 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6612, allocations: 4 kB / 0.8596 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002419/0.6636, allocations: 1.408 MB / 0.861 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6636, allocations: 8 kB / 0.861 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6637, allocations: 0 / 0.861 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.6637, allocations: 15.88 kB / 0.861 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6649, allocations: 279.9 kB / 0.8613 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.6649, allocations: 15.98 kB / 0.8613 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.6663, allocations: 71.88 kB / 0.8614 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6664, allocations: 63.94 kB / 0.8614 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001215/0.6676, allocations: 0.7129 MB / 0.8621 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008837/0.6685, allocations: 0.6606 MB / 0.8628 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001371/0.6699, allocations: 0.9188 MB / 0.8637 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.267e-06/0.6699, allocations: 0 / 0.8637 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002258/0.6722, allocations: 1.346 MB / 0.865 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6722, allocations: 12 kB / 0.865 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.6722, allocations: 7.984 kB / 0.865 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.6722, allocations: 8 kB / 0.865 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.6734, allocations: 271.6 kB / 0.8653 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.6734, allocations: 11.98 kB / 0.8653 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.6748, allocations: 87.91 kB / 0.8654 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.6749, allocations: 63.89 kB / 0.8654 GB, free: 8.414 MB / 0.6075 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.0002768/0.6752, allocations: 239.9 kB / 0.8657 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.6755, allocations: 197.5 kB / 0.8658 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.6775, allocations: 1.088 MB / 0.8669 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.6775, allocations: 11.98 kB / 0.8669 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6775, allocations: 0 / 0.8669 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6775, allocations: 19.94 kB / 0.8669 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.6809, allocations: 2.445 MB / 0.8693 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.681, allocations: 3.984 kB / 0.8693 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.6816, allocations: 140 kB / 0.8695 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.6816, allocations: 4 kB / 0.8695 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.6817, allocations: 19.98 kB / 0.8695 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.6817, allocations: 8 kB / 0.8695 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6817, allocations: 4 kB / 0.8695 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.6832, allocations: 1.074 MB / 0.8705 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.6837, allocations: 350.4 kB / 0.8709 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.6839, allocations: 16 kB / 0.8709 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/0.6846, allocations: 39.95 kB / 0.8709 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6847, allocations: 48.59 kB / 0.871 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.6848, allocations: 27.98 kB / 0.871 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001584/0.6864, allocations: 1.256 MB / 0.8722 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6864, allocations: 0 / 0.8722 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00195/0.6884, allocations: 0.8887 MB / 0.8731 GB, free: 436 kB / 0.6075 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.0006616/0.689, allocations: 354.9 kB / 0.8734 GB, free: 84 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.6917, allocations: 1.621 MB / 0.875 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6918, allocations: 0 / 0.875 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/0.6924, allocations: 417 kB / 0.8754 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/0.6968, allocations: 1.072 MB / 0.8765 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/0.7014, allocations: 3.042 MB / 0.8794 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/0.7023, allocations: 1.405 MB / 0.8808 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.7028, allocations: 167.4 kB / 0.881 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of SimCode: time 6.82e-07/0.7028, allocations: 0 / 0.881 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of Templates: time 0.04232/0.7452, allocations: 30.81 MB / 0.9111 GB, free: 9.793 MB / 0.6544 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)