Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009381/0.0009381, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 168.2 kB / 24.84 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9717/0.9717, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6321/0.6321, allocations: 115 MB / 376.8 MB, free: 7.512 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.71e-07/9.71e-07, allocations: 0 / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.215e-05, allocations: 2.844 kB / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.007805/0.007827, allocations: 9.635 MB / 492.4 MB, free: 5.211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004987/0.01281, allocations: 3.312 MB / 495.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008907/0.0137, allocations: 39.56 kB / 495.7 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.01429, allocations: 212.9 kB / 496 MB, free: 2.836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.01592, allocations: 0.7372 MB / 496.7 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.01785, allocations: 0.8515 MB / 497.5 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.02002, allocations: 1.948 MB / 499.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.02086, allocations: 0.542 MB / 0.4883 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.02232, allocations: 0.98 MB / 0.4893 GB, free: 328 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.02313, allocations: 0.559 MB / 0.4898 GB, free: 152 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.02325, allocations: 54.62 kB / 0.4899 GB, free: 152 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008633/0.02411, allocations: 407.1 kB / 0.4903 GB, free: 60 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.0243, allocations: 172.2 kB / 0.4904 GB, free: 15.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.02462, allocations: 288.9 kB / 0.4907 GB, free: 15.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.02589, allocations: 0.7798 MB / 0.4915 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.02589, allocations: 3.938 kB / 0.4915 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02589, allocations: 1.281 kB / 0.4915 GB, free: 15.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.02591, allocations: 0 / 0.4915 GB, free: 15.52 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001617/0.02753, allocations: 1.179 MB / 0.4926 GB, free: 14.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.02757, allocations: 9.375 kB / 0.4926 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.02776, allocations: 137.4 kB / 0.4928 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/0.02846, allocations: 0.5208 MB / 0.4933 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.02849, allocations: 44.03 kB / 0.4933 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.02855, allocations: 52.78 kB / 0.4934 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.02895, allocations: 272.7 kB / 0.4936 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.02897, allocations: 0 / 0.4936 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.02899, allocations: 19.31 kB / 0.4936 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.029, allocations: 12.94 kB / 0.4936 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.02919, allocations: 112.1 kB / 0.4938 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.031, allocations: 1.144 MB / 0.4949 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.03118, allocations: 94.97 kB / 0.495 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.03123, allocations: 34.83 kB / 0.495 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.801e-05/0.03133, allocations: 25.48 kB / 0.495 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.03135, allocations: 36.47 kB / 0.4951 GB, free: 13.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.685e-06/0.03135, allocations: 3.984 kB / 0.4951 GB, free: 13.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003314/0.03168, allocations: 190.1 kB / 0.4952 GB, free: 13.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.03172, allocations: 55.09 kB / 0.4953 GB, free: 13.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004724/0.03219, allocations: 0.5786 MB / 0.4959 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.03222, allocations: 32.08 kB / 0.4959 GB, free: 12.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.03245, allocations: 425.1 kB / 0.4963 GB, free: 12.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.0325, allocations: 68.72 kB / 0.4964 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.0326, allocations: 95.09 kB / 0.4964 GB, free: 12.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.03277, allocations: 0.5459 MB / 0.497 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.03285, allocations: 45.28 kB / 0.497 GB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.03305, allocations: 346.9 kB / 0.4974 GB, free: 11.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.03321, allocations: 126.5 kB / 0.4975 GB, free: 11.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.03322, allocations: 4.094 kB / 0.4975 GB, free: 11.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003526/0.03357, allocations: 284.2 kB / 0.4978 GB, free: 11.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.03359, allocations: 6.5 kB / 0.4978 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.03359, allocations: 112 / 0.4978 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.03361, allocations: 7.938 kB / 0.4978 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.03416, allocations: 157.8 kB / 0.4979 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.03528, allocations: 3.589 MB / 0.5014 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.03555, allocations: 44.33 kB / 0.5015 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.03558, allocations: 10.06 kB / 0.5015 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001805/0.03576, allocations: 176.5 kB / 0.5016 GB, free: 7.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001808/0.03595, allocations: 335.8 kB / 0.502 GB, free: 6.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001521/0.0361, allocations: 134.6 kB / 0.5021 GB, free: 6.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.0361, allocations: 2.844 kB / 0.5021 GB, free: 6.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0002936/0.03639, allocations: 268.2 kB / 0.5023 GB, free: 6.453 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.0364, allocations: 4.656 kB / 0.5024 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.03641, allocations: 4 kB / 0.5024 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.03641, allocations: 0 / 0.5024 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.03664, allocations: 99.27 kB / 0.5025 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.03664, allocations: 8.047 kB / 0.5025 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.03682, allocations: 38.39 kB / 0.5025 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.03684, allocations: 13.88 kB / 0.5025 GB, free: 6.312 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.03696, allocations: 289 kB / 0.5028 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.03703, allocations: 59.62 kB / 0.5028 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.03733, allocations: 216.2 kB / 0.503 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.03734, allocations: 8.516 kB / 0.5031 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.03734, allocations: 0 / 0.5031 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.03735, allocations: 1.5 kB / 0.5031 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.0381, allocations: 0.6263 MB / 0.5037 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.0381, allocations: 0 / 0.5037 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.03828, allocations: 68.39 kB / 0.5037 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.03829, allocations: 4 kB / 0.5037 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.0383, allocations: 4.609 kB / 0.5037 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009646/0.03926, allocations: 3.582 MB / 0.5072 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.03927, allocations: 8.719 kB / 0.5072 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.03952, allocations: 358.5 kB / 0.5076 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.03964, allocations: 88.03 kB / 0.5077 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.03968, allocations: 13.28 kB / 0.5077 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.03981, allocations: 7.469 kB / 0.5077 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.03986, allocations: 19.41 kB / 0.5077 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.03987, allocations: 5.219 kB / 0.5077 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002885/0.04016, allocations: 363 kB / 0.5081 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.04016, allocations: 0.5938 kB / 0.5081 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.04091, allocations: 344.5 kB / 0.5084 GB, free: 320 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.04116, allocations: 163.5 kB / 0.5085 GB, free: 164 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.04205, allocations: 354.9 kB / 0.5089 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.04206, allocations: 4 kB / 0.5089 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.04222, allocations: 96.62 kB / 0.509 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007541/0.04298, allocations: 264.6 kB / 0.5092 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.04459, allocations: 1.096 MB / 0.5103 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.0447, allocations: 140.3 kB / 0.5104 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.04499, allocations: 89.16 kB / 0.5105 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.04536, allocations: 270.7 kB / 0.5108 GB, free: 14.17 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/0.04536, allocations: 0 / 0.5108 GB, free: 14.17 MB / 442.7 MB Notification: Performance of Templates: time 0.01681/0.06218, allocations: 11.27 MB / 0.5218 GB, free: 3.891 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8772239508107305]