Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001788/0.001788, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002696/0.002696, allocations: 209 kB / 22.99 MB, free: 4.977 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.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9791/0.9791, allocations: 149.9 MB / 463 MB, free: 10.39 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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.002083/0.002083, allocations: 64.61 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2106, allocations: 89.17 MB / 0.7282 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002239/0.2128, allocations: 0.7088 MB / 0.7289 GB, free: 372 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2145, allocations: 1.092 MB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.2145, allocations: 0 / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.2146, allocations: 3.938 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.2146, allocations: 15.88 kB / 0.73 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.215, allocations: 55.83 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.2151, allocations: 75.77 kB / 0.7301 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2153, allocations: 16.17 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.2153, allocations: 23.92 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.2154, allocations: 31.84 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2154, allocations: 4 kB / 0.7302 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.2155, allocations: 19.98 kB / 0.7302 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.2155, allocations: 15.97 kB / 0.7302 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.2156, allocations: 27.86 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2157, allocations: 83.91 kB / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2158, allocations: 0 / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2158, allocations: 4 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2158, allocations: 3.938 kB / 0.7303 GB, free: 14.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006154/0.2164, allocations: 302 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2164, allocations: 8.031 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.2165, allocations: 38.73 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.2165, allocations: 8.891 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2166, allocations: 114.4 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2167, allocations: 4.375 kB / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2167, allocations: 8.375 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.2169, allocations: 77.91 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2169, allocations: 0 / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2169, allocations: 0 / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2169, allocations: 0 / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.2171, allocations: 47.95 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.2178, allocations: 287.7 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.218, allocations: 54.55 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2181, allocations: 28.97 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.2181, allocations: 3.984 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.2183, allocations: 79.38 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2183, allocations: 0 / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004669/0.2188, allocations: 137.6 kB / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.2189, allocations: 55.41 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.219, allocations: 124.8 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.219, allocations: 25.7 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.2191, allocations: 96.09 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.2191, allocations: 19.88 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.2192, allocations: 29.7 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2193, allocations: 322.8 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2194, allocations: 27.97 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2196, allocations: 69.98 kB / 0.7322 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.2198, allocations: 117.8 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2198, allocations: 0 / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003226/0.2201, allocations: 133.5 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2202, allocations: 4 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2202, allocations: 4 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2202, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2203, allocations: 27.91 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2203, allocations: 3.938 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.2204, allocations: 16.16 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2204, allocations: 8 kB / 0.7325 GB, free: 12.41 MB / 0.5606 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.0001181/0.2205, allocations: 125.7 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.2206, allocations: 7.953 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.2206, allocations: 8.375 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2206, allocations: 4 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2206, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2206, allocations: 0 / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.2211, allocations: 345.5 kB / 0.733 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2211, allocations: 3.938 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.2212, allocations: 4 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2212, allocations: 0 / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2212, allocations: 7.984 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2212, allocations: 3.938 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2212, allocations: 0 / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.2215, allocations: 195.5 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.2215, allocations: 7.938 kB / 0.7332 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2216, allocations: 12 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.2217, allocations: 7.938 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.2217, allocations: 3.984 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2217, allocations: 4 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.2218, allocations: 95.2 kB / 0.7333 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2218, allocations: 0 / 0.7333 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002736/0.2221, allocations: 19.94 kB / 0.7333 GB, free: 11.49 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 (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.0007846/0.2228, allocations: 0.7397 MB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.2231, allocations: 79.86 kB / 0.7341 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2231, allocations: 4 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2233, allocations: 35.91 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.2236, allocations: 18.25 kB / 0.7342 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.2256, allocations: 1.526 MB / 0.7356 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.074e-05/0.2257, allocations: 67.34 kB / 0.7357 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.2257, allocations: 11.98 kB / 0.7357 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.2258, allocations: 19.44 kB / 0.7357 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.2258, allocations: 3.938 kB / 0.7357 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.2562, allocations: 2.663 MB / 0.7383 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.42, allocations: 13.92 kB / 0.7384 GB, free: 6.305 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.427788896020502] Failed to read output from testmodel.py, exit status != 0: 11.525240967050195 11.54256535 11.323418618 Calling exit ...