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.001542/0.001542, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.002207/0.002207, allocations: 210.8 kB / 23.04 MB, free: 4.887 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.742 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 0.9666/0.9666, allocations: 150 MB / 463.2 MB, free: 10.19 MB / 366.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",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.001911/0.001911, allocations: 70.53 kB / 0.6413 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1718, allocations: 89.18 MB / 0.7284 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002123/0.1739, allocations: 0.7088 MB / 0.729 GB, free: 48 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1755, allocations: 1.186 MB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.1756, allocations: 0 / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.1756, allocations: 3.938 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.1757, allocations: 19.86 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1762, allocations: 138.8 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1764, allocations: 127.7 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1765, allocations: 20.17 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.1766, allocations: 47.91 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.1767, allocations: 47.8 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.1767, allocations: 8 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.1768, allocations: 24 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.1768, allocations: 19.92 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.1769, allocations: 39.89 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1771, allocations: 127.8 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1771, allocations: 0 / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1771, allocations: 0 / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1771, allocations: 0 / 0.7308 GB, free: 14.23 MB / 0.5606 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.0005991/0.1777, allocations: 355.7 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1777, allocations: 15.97 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.1778, allocations: 38.73 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.192e-05/0.1779, allocations: 12.89 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.178, allocations: 116.7 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.178, allocations: 4.375 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.178, allocations: 16.36 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1782, allocations: 73.91 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1782, allocations: 0 / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1782, allocations: 8 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1782, allocations: 4 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1784, allocations: 43.95 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1789, allocations: 299.7 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1791, allocations: 58.55 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1792, allocations: 32.95 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1792, allocations: 0 / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.1794, allocations: 87.36 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1794, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004486/0.1799, allocations: 153.6 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1799, allocations: 51.41 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.18, allocations: 121.8 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.1801, allocations: 33.7 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.1801, allocations: 100.1 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1802, allocations: 23.78 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.1802, allocations: 37.7 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1804, allocations: 326.8 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1805, allocations: 81.61 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1808, allocations: 122.8 kB / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.181, allocations: 154.7 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.181, allocations: 0 / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004765/0.1815, allocations: 240.8 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.1816, allocations: 41.84 kB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1816, allocations: 4 kB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1816, allocations: 0 / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1817, allocations: 15.98 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1817, allocations: 4 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1819, allocations: 35.89 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1819, allocations: 7.938 kB / 0.7334 GB, free: 11.3 MB / 0.5606 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.0001072/0.182, allocations: 129.8 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.182, allocations: 7.953 kB / 0.7335 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.1824, allocations: 122 kB / 0.7336 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1824, allocations: 0 / 0.7336 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1824, allocations: 0 / 0.7336 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1824, allocations: 0 / 0.7336 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1828, allocations: 353.5 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1828, allocations: 4 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.1829, allocations: 11.98 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1829, allocations: 0 / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1829, allocations: 4 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1829, allocations: 3.938 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1829, allocations: 3.984 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1833, allocations: 219.4 kB / 0.7342 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.1833, allocations: 7.953 kB / 0.7342 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1833, allocations: 0 / 0.7342 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.1834, allocations: 19.92 kB / 0.7342 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1834, allocations: 7.984 kB / 0.7343 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.1834, allocations: 0 / 0.7343 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.1835, allocations: 95.98 kB / 0.7343 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1835, allocations: 0 / 0.7343 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002715/0.1837, allocations: 27.98 kB / 0.7344 GB, free: 10.22 MB / 0.5606 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.0006722/0.1844, allocations: 0.7437 MB / 0.7351 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.1848, allocations: 197 kB / 0.7353 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1848, allocations: 0 / 0.7353 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.185, allocations: 43.95 kB / 0.7353 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1852, allocations: 14.59 kB / 0.7353 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1875, allocations: 1.845 MB / 0.7371 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.1876, allocations: 79.27 kB / 0.7372 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.603e-05/0.1876, allocations: 8 kB / 0.7372 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.1877, allocations: 19.44 kB / 0.7372 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.1877, allocations: 0 / 0.7372 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.2173, allocations: 3.226 MB / 0.7404 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.1, allocations: 9.625 kB / 0.7404 GB, free: 4.004 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.821450414834544] Failed to read output from testmodel.py, exit status != 0: 11.21200699498877 11.241630274 11.059223819 Calling exit ...