Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001646/0.001646, allocations: 111 kB / 17.75 MB, free: 5.328 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.001714/0.001714, allocations: 186.9 kB / 20.69 MB, free: 2.395 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.44/1.44, allocations: 222.9 MB / 246.4 MB, free: 4.23 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.049/1.049, allocations: 147.6 MB / 446.2 MB, free: 8.348 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 64.94 kB / 0.612 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1472, allocations: 83.16 MB / 0.6932 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.00181/0.149, allocations: 0.6511 MB / 0.6939 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1505, allocations: 1.042 MB / 0.6949 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.1505, allocations: 0 / 0.6949 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.1506, allocations: 3.938 kB / 0.6949 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.1506, allocations: 17.88 kB / 0.6949 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1509, allocations: 42.28 kB / 0.6949 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.179e-05/0.151, allocations: 37.7 kB / 0.695 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1511, allocations: 20.88 kB / 0.695 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.1512, allocations: 20.23 kB / 0.695 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.1513, allocations: 25.33 kB / 0.695 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1513, allocations: 4.594 kB / 0.695 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.1514, allocations: 13.45 kB / 0.6951 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.1514, allocations: 10.73 kB / 0.6951 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.1515, allocations: 27.98 kB / 0.6951 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1516, allocations: 57.11 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1516, allocations: 1.375 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1516, allocations: 0 / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1516, allocations: 0 / 0.6952 GB, free: 11.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006635/0.1523, allocations: 364 kB / 0.6955 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1524, allocations: 9.625 kB / 0.6955 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1524, allocations: 11.64 kB / 0.6955 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1526, allocations: 173.7 kB / 0.6957 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1526, allocations: 1.75 kB / 0.6957 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1526, allocations: 7.062 kB / 0.6957 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.1528, allocations: 64.09 kB / 0.6958 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1528, allocations: 192 / 0.6958 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.1529, allocations: 5.312 kB / 0.6958 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1529, allocations: 0 / 0.6958 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.1531, allocations: 55.25 kB / 0.6958 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.1536, allocations: 273.3 kB / 0.6961 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1538, allocations: 61.61 kB / 0.6961 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1539, allocations: 27.34 kB / 0.6962 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1539, allocations: 5.594 kB / 0.6962 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1541, allocations: 76.02 kB / 0.6962 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1541, allocations: 0 / 0.6962 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0004507/0.1546, allocations: 123.2 kB / 0.6964 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1546, allocations: 56.72 kB / 0.6964 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1548, allocations: 108.7 kB / 0.6965 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1548, allocations: 27.05 kB / 0.6965 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.1549, allocations: 85.41 kB / 0.6966 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1549, allocations: 18.75 kB / 0.6966 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.1549, allocations: 23.83 kB / 0.6967 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1551, allocations: 316 kB / 0.697 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1552, allocations: 25.5 kB / 0.697 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1554, allocations: 51.88 kB / 0.697 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1556, allocations: 77.72 kB / 0.6971 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1556, allocations: 4 kB / 0.6971 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000271/0.1559, allocations: 104.3 kB / 0.6972 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1559, allocations: 7.031 kB / 0.6972 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1559, allocations: 1.25 kB / 0.6972 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1559, allocations: 1.5 kB / 0.6972 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.156, allocations: 16.73 kB / 0.6972 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.156, allocations: 2.125 kB / 0.6972 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.1561, allocations: 12.58 kB / 0.6973 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1561, allocations: 3.25 kB / 0.6973 GB, free: 9.539 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.692e-05/0.1562, allocations: 122.2 kB / 0.6974 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.1563, allocations: 6.422 kB / 0.6974 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.1566, allocations: 108.5 kB / 0.6975 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1566, allocations: 1.344 kB / 0.6975 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1566, allocations: 0 / 0.6975 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1566, allocations: 9.359 kB / 0.6975 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.1571, allocations: 342.9 kB / 0.6978 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1571, allocations: 9.422 kB / 0.6978 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.1572, allocations: 5.219 kB / 0.6978 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1572, allocations: 1.594 kB / 0.6978 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1572, allocations: 448 / 0.6978 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1572, allocations: 5.297 kB / 0.6978 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1572, allocations: 4 kB / 0.6978 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.1575, allocations: 196.9 kB / 0.698 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1576, allocations: 78.27 kB / 0.6981 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1576, allocations: 13.45 kB / 0.6981 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.1577, allocations: 4.906 kB / 0.6981 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.1578, allocations: 10.36 kB / 0.6981 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1578, allocations: 5.406 kB / 0.6981 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.1579, allocations: 85.12 kB / 0.6982 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1579, allocations: 3.938 kB / 0.6982 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002478/0.1581, allocations: 13.39 kB / 0.6982 GB, free: 8.59 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001681/0.1583, allocations: 97.88 kB / 0.6983 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.1586, allocations: 71.67 kB / 0.6984 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1586, allocations: 1.188 kB / 0.6984 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1587, allocations: 34.28 kB / 0.6984 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.159, allocations: 4.5 kB / 0.6984 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.1594, allocations: 164 kB / 0.6986 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1598, allocations: 0.6824 MB / 0.6993 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.1598, allocations: 14.19 kB / 0.6993 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.1598, allocations: 0 / 0.6993 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of Templates: time 0.002647/0.1625, allocations: 0.8709 MB / 0.7001 GB, free: 7.109 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.18439334211871] Failed to read output from testmodel.py, exit status != 0: 0.4870794080197811 0.18463865100000001 0.030268430000000002 Calling exit ...