Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001626, allocations: 109.6 kB / 17.07 MB, free: 5.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 194.7 kB / 20.02 MB, free: 2.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 245.7 MB, free: 4.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.059/1.059, allocations: 147.6 MB / 445.5 MB, free: 8.422 MB / 350.1 MB " [Timeout remaining time 179] 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.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 65.12 kB / 0.6113 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1359, allocations: 83.16 MB / 0.6926 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001812/0.1378, allocations: 0.6639 MB / 0.6932 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1392, allocations: 1.065 MB / 0.6942 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.1393, allocations: 5.062 kB / 0.6942 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.1393, allocations: 3.938 kB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.1394, allocations: 13.17 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1397, allocations: 50.48 kB / 0.6943 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1398, allocations: 62.64 kB / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.1399, allocations: 13.48 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.14, allocations: 26.92 kB / 0.6944 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.14, allocations: 32.09 kB / 0.6944 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1401, allocations: 6.875 kB / 0.6944 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.075e-05/0.1401, allocations: 28.3 kB / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.1402, allocations: 22.72 kB / 0.6945 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.1402, allocations: 26.73 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1404, allocations: 78.83 kB / 0.6946 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1404, allocations: 0 / 0.6946 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1404, allocations: 0 / 0.6946 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1404, allocations: 0 / 0.6946 GB, free: 11.46 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00067/0.1411, allocations: 378.9 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1411, allocations: 13.62 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1412, allocations: 13 kB / 0.695 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1413, allocations: 171 kB / 0.6951 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1414, allocations: 3.125 kB / 0.6951 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1414, allocations: 8.5 kB / 0.6952 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1416, allocations: 86.88 kB / 0.6952 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1416, allocations: 5.5 kB / 0.6952 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1417, allocations: 3.938 kB / 0.6952 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1417, allocations: 1.375 kB / 0.6953 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1419, allocations: 58.02 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.1424, allocations: 308.8 kB / 0.6956 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1426, allocations: 83.17 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1428, allocations: 49.58 kB / 0.6957 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1428, allocations: 1.344 kB / 0.6957 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.143, allocations: 86.92 kB / 0.6958 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1431, allocations: 0 / 0.6958 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005148/0.1436, allocations: 173.8 kB / 0.696 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1436, allocations: 61.69 kB / 0.696 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.1437, allocations: 105.5 kB / 0.6961 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1438, allocations: 32.48 kB / 0.6962 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.1438, allocations: 85.78 kB / 0.6962 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.1439, allocations: 31.86 kB / 0.6963 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.1439, allocations: 32.27 kB / 0.6963 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1441, allocations: 317.3 kB / 0.6966 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1442, allocations: 40.34 kB / 0.6967 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1444, allocations: 62.94 kB / 0.6967 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.1446, allocations: 99.61 kB / 0.6968 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1446, allocations: 4.359 kB / 0.6968 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000345/0.145, allocations: 154.7 kB / 0.697 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.145, allocations: 5.188 kB / 0.697 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.145, allocations: 4 kB / 0.697 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.145, allocations: 2.562 kB / 0.697 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1452, allocations: 22.02 kB / 0.697 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1452, allocations: 5.391 kB / 0.697 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.1453, allocations: 17.7 kB / 0.697 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1453, allocations: 8.281 kB / 0.697 GB, free: 9.242 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001003/0.1454, allocations: 123.4 kB / 0.6971 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1454, allocations: 6.453 kB / 0.6971 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.1458, allocations: 143.9 kB / 0.6973 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1458, allocations: 1.562 kB / 0.6973 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1458, allocations: 0 / 0.6973 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1458, allocations: 5.281 kB / 0.6973 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.1464, allocations: 411.2 kB / 0.6977 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1464, allocations: 0 / 0.6977 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.1465, allocations: 12.23 kB / 0.6977 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1465, allocations: 3.938 kB / 0.6977 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1465, allocations: 5.359 kB / 0.6977 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1465, allocations: 1.375 kB / 0.6977 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1465, allocations: 0 / 0.6977 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.1469, allocations: 237.4 kB / 0.6979 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.1469, allocations: 82.44 kB / 0.698 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.147, allocations: 5.359 kB / 0.698 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1471, allocations: 5.5 kB / 0.698 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1471, allocations: 14.72 kB / 0.698 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1471, allocations: 10.97 kB / 0.698 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.1472, allocations: 88.77 kB / 0.6981 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1472, allocations: 0 / 0.6981 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002404/0.1475, allocations: 23 kB / 0.6981 GB, free: 8.227 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000164/0.1476, allocations: 110.4 kB / 0.6983 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1479, allocations: 98.91 kB / 0.6983 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1479, allocations: 4.125 kB / 0.6984 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1481, allocations: 47.28 kB / 0.6984 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.1483, allocations: 12.41 kB / 0.6984 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.1487, allocations: 151.6 kB / 0.6986 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.149, allocations: 0.688 MB / 0.6992 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.1491, allocations: 8.625 kB / 0.6992 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.1491, allocations: 16.14 kB / 0.6992 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1491, allocations: 0 / 0.6992 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of Templates: time 0.00381/0.1529, allocations: 1.034 MB / 0.7003 GB, free: 6.199 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.69403840135783] Failed to read output from testmodel.py, exit status != 0: 0.4395674909465015 0.173164545 0.030122927 Calling exit ...