Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.00155/0.00155, allocations: 112.2 kB / 17.75 MB, free: 5.43 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.001313/0.001313, allocations: 187 kB / 20.68 MB, free: 2.5 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.479/1.479, allocations: 222.9 MB / 246.4 MB, free: 4.207 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.159/1.159, allocations: 147.6 MB / 446.2 MB, free: 8.449 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 65.19 kB / 0.612 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1447, allocations: 83.17 MB / 0.6932 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001941/0.1467, allocations: 0.7315 MB / 0.694 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1483, allocations: 1.076 MB / 0.695 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.1484, allocations: 1.156 kB / 0.695 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.1484, allocations: 3.938 kB / 0.695 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.1485, allocations: 12.86 kB / 0.695 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1488, allocations: 49.83 kB / 0.6951 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.149, allocations: 75.89 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1491, allocations: 21.27 kB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.1492, allocations: 25.89 kB / 0.6952 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.1493, allocations: 37.8 kB / 0.6952 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1493, allocations: 5.75 kB / 0.6952 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.1494, allocations: 23.58 kB / 0.6953 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.1494, allocations: 11.69 kB / 0.6953 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.1494, allocations: 31.86 kB / 0.6953 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1496, allocations: 85.45 kB / 0.6954 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1496, allocations: 0 / 0.6954 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1496, allocations: 3.938 kB / 0.6954 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.1497, allocations: 5.031 kB / 0.6954 GB, free: 11.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000601/0.1503, allocations: 373.6 kB / 0.6957 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1503, allocations: 9.75 kB / 0.6958 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.1504, allocations: 7.734 kB / 0.6958 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1505, allocations: 180.6 kB / 0.6959 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1505, allocations: 7.188 kB / 0.6959 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1506, allocations: 3.844 kB / 0.6959 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1508, allocations: 65.73 kB / 0.696 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1508, allocations: 7.938 kB / 0.696 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.1508, allocations: 7.984 kB / 0.696 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1508, allocations: 1.688 kB / 0.696 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.151, allocations: 35.81 kB / 0.6961 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.1517, allocations: 329.2 kB / 0.6964 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1519, allocations: 60.42 kB / 0.6964 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.152, allocations: 27.19 kB / 0.6965 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.152, allocations: 1.25 kB / 0.6965 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1523, allocations: 74.56 kB / 0.6965 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1523, allocations: 4 kB / 0.6965 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004551/0.1527, allocations: 135.3 kB / 0.6967 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.1528, allocations: 54.16 kB / 0.6967 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1529, allocations: 124.9 kB / 0.6968 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.153, allocations: 29.7 kB / 0.6969 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.1531, allocations: 94.78 kB / 0.697 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1531, allocations: 22.64 kB / 0.697 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.1532, allocations: 27.34 kB / 0.697 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1534, allocations: 324.1 kB / 0.6973 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1535, allocations: 28.47 kB / 0.6973 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1536, allocations: 79.05 kB / 0.6974 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.1539, allocations: 111 kB / 0.6975 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1539, allocations: 1.375 kB / 0.6975 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003376/0.1543, allocations: 124.5 kB / 0.6976 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1543, allocations: 6.875 kB / 0.6976 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1543, allocations: 1.594 kB / 0.6976 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1544, allocations: 6.75 kB / 0.6977 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1545, allocations: 20.3 kB / 0.6977 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.1545, allocations: 9.297 kB / 0.6977 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/0.1546, allocations: 13.5 kB / 0.6977 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1546, allocations: 5.5 kB / 0.6977 GB, free: 9.215 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000162/0.1548, allocations: 129.1 kB / 0.6978 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1548, allocations: 6.703 kB / 0.6978 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.1549, allocations: 13.69 kB / 0.6978 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1549, allocations: 5.375 kB / 0.6978 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1549, allocations: 0 / 0.6978 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1549, allocations: 0 / 0.6978 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.1555, allocations: 373.5 kB / 0.6982 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1555, allocations: 0 / 0.6982 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.1556, allocations: 13.42 kB / 0.6982 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1556, allocations: 0 / 0.6982 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1556, allocations: 9.312 kB / 0.6982 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1556, allocations: 5.312 kB / 0.6982 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1556, allocations: 0 / 0.6982 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.156, allocations: 196.9 kB / 0.6984 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.1561, allocations: 82.44 kB / 0.6985 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1561, allocations: 1.375 kB / 0.6985 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.1562, allocations: 16.05 kB / 0.6985 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1563, allocations: 2.75 kB / 0.6985 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1563, allocations: 5.375 kB / 0.6985 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.1564, allocations: 97.05 kB / 0.6986 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1564, allocations: 0 / 0.6986 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002626/0.1566, allocations: 13.75 kB / 0.6986 GB, free: 8.312 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0002048/0.1568, allocations: 120.1 kB / 0.6987 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.1572, allocations: 75.77 kB / 0.6988 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1572, allocations: 1.312 kB / 0.6988 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1573, allocations: 32.25 kB / 0.6988 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1576, allocations: 16.05 kB / 0.6989 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.158, allocations: 181.9 kB / 0.699 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1584, allocations: 0.689 MB / 0.6997 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.1584, allocations: 16.08 kB / 0.6997 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1584, allocations: 0 / 0.6997 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.003086/0.1615, allocations: 1.052 MB / 0.7007 GB, free: 6.41 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.108869913034141] Failed to read output from testmodel.py, exit status != 0: 0.4463979648426175 0.182851381 0.030537365 Calling exit ...