Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001377/0.001377, allocations: 114.2 kB / 17.84 MB, free: 5.336 MB / 14.72 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.001395/0.001395, allocations: 207.1 kB / 20.8 MB, free: 2.391 MB / 14.72 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 1.566/1.566, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 1.002/1.002, allocations: 150 MB / 460.2 MB, free: 5.633 MB / 350.1 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 62.72 kB / 0.6368 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1465, allocations: 89.14 MB / 0.7238 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001918/0.1485, allocations: 0.7455 MB / 0.7246 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1501, allocations: 1.203 MB / 0.7257 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.1501, allocations: 3.938 kB / 0.7257 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.1502, allocations: 3.938 kB / 0.7257 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.1502, allocations: 11.86 kB / 0.7258 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1508, allocations: 142.8 kB / 0.7259 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1509, allocations: 127.7 kB / 0.726 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.151, allocations: 16.17 kB / 0.726 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.1511, allocations: 51.91 kB / 0.7261 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.1512, allocations: 51.8 kB / 0.7261 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1513, allocations: 8 kB / 0.7261 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.1513, allocations: 27.98 kB / 0.7262 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.1514, allocations: 19.92 kB / 0.7262 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.931e-05/0.1514, allocations: 51.77 kB / 0.7262 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1516, allocations: 123.8 kB / 0.7263 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1516, allocations: 0 / 0.7263 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1516, allocations: 4 kB / 0.7263 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1516, allocations: 0 / 0.7263 GB, free: 1.488 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006358/0.1523, allocations: 424.9 kB / 0.7268 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1523, allocations: 8.031 kB / 0.7268 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.338e-05/0.1523, allocations: 4.188 kB / 0.7268 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.1524, allocations: 30.75 kB / 0.7268 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/0.1524, allocations: 12.89 kB / 0.7268 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1526, allocations: 180.2 kB / 0.727 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1526, allocations: 12.38 kB / 0.727 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1526, allocations: 4.375 kB / 0.727 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.1528, allocations: 81.72 kB / 0.7271 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1529, allocations: 0 / 0.7271 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1529, allocations: 0 / 0.7271 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1529, allocations: 0 / 0.7271 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1531, allocations: 47.95 kB / 0.7271 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1536, allocations: 352.6 kB / 0.7275 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1538, allocations: 54.55 kB / 0.7275 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1539, allocations: 29 kB / 0.7275 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1539, allocations: 3.938 kB / 0.7275 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.1541, allocations: 95.44 kB / 0.7276 GB, free: 15.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1541, allocations: 0 / 0.7276 GB, free: 15.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004781/0.1546, allocations: 149.6 kB / 0.7278 GB, free: 15.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1547, allocations: 55.41 kB / 0.7278 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1548, allocations: 132.8 kB / 0.728 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1548, allocations: 29.7 kB / 0.728 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.1549, allocations: 96 kB / 0.7281 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.1549, allocations: 23.8 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.155, allocations: 37.69 kB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1551, allocations: 322.8 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1553, allocations: 51.95 kB / 0.7285 GB, free: 15.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.1555, allocations: 93.11 kB / 0.7286 GB, free: 14.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.1558, allocations: 150.8 kB / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1558, allocations: 0 / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004838/0.1563, allocations: 211.1 kB / 0.7289 GB, free: 14.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.1563, allocations: 37.69 kB / 0.729 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1563, allocations: 0 / 0.729 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1563, allocations: 8.156 kB / 0.729 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1564, allocations: 19.92 kB / 0.729 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1564, allocations: 0 / 0.729 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.1567, allocations: 39.89 kB / 0.729 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1567, allocations: 8 kB / 0.729 GB, free: 14.45 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001024/0.1568, allocations: 117.8 kB / 0.7291 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.1568, allocations: 7.953 kB / 0.7291 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.1571, allocations: 133.9 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1571, allocations: 0 / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1571, allocations: 4.047 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1572, allocations: 11.86 kB / 0.7293 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.1576, allocations: 374.5 kB / 0.7296 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1576, allocations: 4 kB / 0.7297 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.1577, allocations: 7.938 kB / 0.7297 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1577, allocations: 0 / 0.7297 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1577, allocations: 7.984 kB / 0.7297 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1577, allocations: 3.938 kB / 0.7297 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1577, allocations: 4 kB / 0.7297 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.1581, allocations: 219.9 kB / 0.7299 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.1581, allocations: 89.06 kB / 0.73 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1581, allocations: 0 / 0.73 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.1582, allocations: 11.92 kB / 0.73 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1583, allocations: 7.984 kB / 0.73 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1583, allocations: 4 kB / 0.73 GB, free: 13.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.857e-05/0.1584, allocations: 99.2 kB / 0.7301 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1584, allocations: 0 / 0.7301 GB, free: 13.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002679/0.1586, allocations: 20 kB / 0.7301 GB, free: 13.23 MB / 0.545 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006978/0.1593, allocations: 0.7476 MB / 0.7308 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.1597, allocations: 167.4 kB / 0.731 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1597, allocations: 0 / 0.731 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1599, allocations: 35.91 kB / 0.731 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1602, allocations: 19.92 kB / 0.731 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.1625, allocations: 1.724 MB / 0.7327 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1628, allocations: 0.6924 MB / 0.7334 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.1629, allocations: 4 kB / 0.7334 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.1629, allocations: 23.42 kB / 0.7334 GB, free: 9.641 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1629, allocations: 0 / 0.7334 GB, free: 9.641 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.1829, allocations: 2.595 MB / 0.736 GB, free: 7.184 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.542, allocations: 26.2 kB / 0.736 GB, free: 7.164 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.489209797990043] Failed to read output from testmodel.py, exit status != 0: 8.67208585498156 8.692422746 8.537023116 Calling exit ...