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.001156/0.001156, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001044/0.001044, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.9926/0.9926, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.6549/0.6549, allocations: 115 MB / 376 MB, free: 7.664 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 1.242e-06/1.242e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.283e-05, allocations: 3.25 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02843/0.02846, allocations: 31.88 MB / 0.5014 GB, free: 6.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.04293, allocations: 11.09 MB / 0.5122 GB, free: 13.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.04451, allocations: 42.97 kB / 0.5122 GB, free: 13.14 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.04567, allocations: 394.4 kB / 0.5126 GB, free: 12.85 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.04907, allocations: 1.231 MB / 0.5138 GB, free: 11.79 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.05127, allocations: 0.9114 MB / 0.5147 GB, free: 10.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.05379, allocations: 1.99 MB / 0.5166 GB, free: 8.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.05462, allocations: 0.5436 MB / 0.5172 GB, free: 8.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.0567, allocations: 1.304 MB / 0.5184 GB, free: 7.012 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008032/0.0575, allocations: 0.5607 MB / 0.519 GB, free: 6.449 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.05759, allocations: 52 kB / 0.519 GB, free: 6.398 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.05862, allocations: 0.5184 MB / 0.5196 GB, free: 5.879 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.05878, allocations: 175.1 kB / 0.5197 GB, free: 5.707 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.0591, allocations: 295.2 kB / 0.52 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.06024, allocations: 0.8446 MB / 0.5208 GB, free: 4.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.06025, allocations: 0 / 0.5208 GB, free: 4.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.06025, allocations: 0 / 0.5208 GB, free: 4.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.06025, allocations: 0 / 0.5208 GB, free: 4.57 MB / 442.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.001291/0.06155, allocations: 1.195 MB / 0.522 GB, free: 3.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.06158, allocations: 8.031 kB / 0.522 GB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.06175, allocations: 144.1 kB / 0.5221 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.06242, allocations: 0.5274 MB / 0.5227 GB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.06246, allocations: 41 kB / 0.5227 GB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.06252, allocations: 52 kB / 0.5227 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.06299, allocations: 311.1 kB / 0.523 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.063, allocations: 0 / 0.523 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.06303, allocations: 20 kB / 0.5231 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.06305, allocations: 12 kB / 0.5231 GB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.06334, allocations: 145.9 kB / 0.5232 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.06517, allocations: 1.253 MB / 0.5244 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.06538, allocations: 105.5 kB / 0.5245 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.06545, allocations: 43.66 kB / 0.5246 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.06557, allocations: 27.98 kB / 0.5246 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.06559, allocations: 41.38 kB / 0.5246 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.06559, allocations: 0 / 0.5246 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003679/0.06596, allocations: 205.1 kB / 0.5248 GB, free: 328 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.06599, allocations: 51.41 kB / 0.5249 GB, free: 264 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.06653, allocations: 0.5932 MB / 0.5255 GB, free: 15.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.06656, allocations: 29.7 kB / 0.5255 GB, free: 15.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.06679, allocations: 419.6 kB / 0.5259 GB, free: 15.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.06684, allocations: 75.44 kB / 0.526 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.06696, allocations: 95.28 kB / 0.5261 GB, free: 15.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.06712, allocations: 0.5391 MB / 0.5266 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.06724, allocations: 55.66 kB / 0.5266 GB, free: 14.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.0675, allocations: 355.3 kB / 0.527 GB, free: 13.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.06774, allocations: 154.5 kB / 0.5271 GB, free: 13.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.06774, allocations: 0 / 0.5271 GB, free: 13.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000432/0.06817, allocations: 290.6 kB / 0.5274 GB, free: 13.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.06818, allocations: 8 kB / 0.5274 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.06819, allocations: 0 / 0.5274 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.0682, allocations: 4 kB / 0.5274 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.06884, allocations: 163.8 kB / 0.5276 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.07014, allocations: 3.597 MB / 0.5311 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.07036, allocations: 35.77 kB / 0.5311 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.07039, allocations: 16 kB / 0.5311 GB, free: 9.602 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002184/0.07061, allocations: 186.8 kB / 0.5313 GB, free: 9.414 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002457/0.07086, allocations: 347.1 kB / 0.5316 GB, free: 8.992 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002189/0.07108, allocations: 144 kB / 0.5318 GB, free: 8.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.07108, allocations: 0 / 0.5318 GB, free: 8.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0004175/0.0715, allocations: 284.4 kB / 0.532 GB, free: 8.555 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.0715, allocations: 4.094 kB / 0.532 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.07151, allocations: 12 kB / 0.5321 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/0.07151, allocations: 0 / 0.5321 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.07179, allocations: 99.88 kB / 0.5322 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.0718, allocations: 7.875 kB / 0.5322 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.072, allocations: 35.83 kB / 0.5322 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.07201, allocations: 16 kB / 0.5322 GB, free: 8.383 MB / 458.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.0001162/0.07213, allocations: 280 kB / 0.5325 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.0722, allocations: 71.81 kB / 0.5325 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.07255, allocations: 214.5 kB / 0.5328 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.07256, allocations: 3.984 kB / 0.5328 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.07256, allocations: 0 / 0.5328 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.07257, allocations: 0 / 0.5328 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.07326, allocations: 0.7363 MB / 0.5335 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.07326, allocations: 8.125 kB / 0.5335 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.07345, allocations: 75.89 kB / 0.5336 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.07346, allocations: 7.938 kB / 0.5336 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.07347, allocations: 0 / 0.5336 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.07446, allocations: 3.585 MB / 0.5371 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.07446, allocations: 4.25 kB / 0.5371 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.07473, allocations: 380.5 kB / 0.5374 GB, free: 2.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/0.07482, allocations: 87.47 kB / 0.5375 GB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.07487, allocations: 4 kB / 0.5375 GB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.07499, allocations: 11.98 kB / 0.5375 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.07503, allocations: 19.97 kB / 0.5375 GB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.07504, allocations: 4 kB / 0.5375 GB, free: 2.695 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.07532, allocations: 395 kB / 0.5379 GB, free: 2.316 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07532, allocations: 0 / 0.5379 GB, free: 2.316 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006498/0.07597, allocations: 367 kB / 0.5383 GB, free: 1.957 MB / 458.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.0003678/0.07634, allocations: 242.4 kB / 0.5385 GB, free: 1.715 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.07711, allocations: 372.2 kB / 0.5389 GB, free: 1.344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.07711, allocations: 0 / 0.5389 GB, free: 1.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.07728, allocations: 107.8 kB / 0.539 GB, free: 1.234 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.078, allocations: 253 kB / 0.5392 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.07974, allocations: 1.104 MB / 0.5403 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.07983, allocations: 145.8 kB / 0.5404 GB, free: 15.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.08008, allocations: 94.47 kB / 0.5405 GB, free: 15.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.08016, allocations: 48.48 kB / 0.5406 GB, free: 15.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.173e-06/0.08016, allocations: 0 / 0.5406 GB, free: 15.54 MB / 474.7 MB Notification: Performance of Templates: time 0.01566/0.09582, allocations: 11.32 MB / 0.5516 GB, free: 4.566 MB / 474.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.9824739350005984]