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.001327/0.001327, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001439/0.001439, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.012/1.012, allocations: 150 MB / 464 MB, free: 10.2 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="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.003257/0.003257, allocations: 65.97 kB / 0.6419 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2021, allocations: 89.17 MB / 0.729 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002202/0.2043, allocations: 0.7252 MB / 0.7297 GB, free: 112 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2061, allocations: 1.182 MB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.2062, allocations: 3.938 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.2062, allocations: 7.938 kB / 0.7309 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.2063, allocations: 15.86 kB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.2069, allocations: 141.8 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.2071, allocations: 127.7 kB / 0.7312 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2072, allocations: 16.17 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.2073, allocations: 47.91 kB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.2074, allocations: 51.81 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.2074, allocations: 12 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.2075, allocations: 31.98 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.2076, allocations: 11.98 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.2077, allocations: 43.84 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.2079, allocations: 131.8 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2079, allocations: 0 / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2079, allocations: 0 / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2079, allocations: 0 / 0.7315 GB, free: 14.29 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.0006433/0.2085, allocations: 343.8 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2086, allocations: 12.03 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.266e-05/0.2086, allocations: 192 / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.2086, allocations: 46.73 kB / 0.7319 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.2087, allocations: 8.891 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2088, allocations: 118.4 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2089, allocations: 8.312 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2089, allocations: 12.38 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.2091, allocations: 77.77 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2091, allocations: 3.938 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2091, allocations: 3.984 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2091, allocations: 0 / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.2093, allocations: 51.95 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.2099, allocations: 291.8 kB / 0.7324 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.21, allocations: 54.55 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.2101, allocations: 28.97 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2102, allocations: 0 / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.2104, allocations: 95.38 kB / 0.7326 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2104, allocations: 4 kB / 0.7326 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004583/0.2109, allocations: 145.6 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.2109, allocations: 55.41 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.211, allocations: 117.8 kB / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.2111, allocations: 33.7 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.2111, allocations: 92.09 kB / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.2112, allocations: 27.78 kB / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.2113, allocations: 49.62 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2114, allocations: 322.8 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2116, allocations: 77.66 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2118, allocations: 118.8 kB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.2121, allocations: 154.7 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2121, allocations: 0 / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005117/0.2126, allocations: 248.8 kB / 0.734 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.2126, allocations: 43.88 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2127, allocations: 4 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2127, allocations: 0 / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2128, allocations: 24.08 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2128, allocations: 0 / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.213, allocations: 31.91 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.213, allocations: 11.98 kB / 0.7341 GB, free: 11.35 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.0001115/0.2131, allocations: 124.7 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.2131, allocations: 7.953 kB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.2135, allocations: 129.9 kB / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2135, allocations: 0 / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2135, allocations: 0 / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2135, allocations: 3.938 kB / 0.7344 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.214, allocations: 346 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.214, allocations: 0 / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.389e-05/0.2141, allocations: 11.92 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.2141, allocations: 4 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2141, allocations: 4 kB / 0.7347 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2141, allocations: 7.953 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2141, allocations: 3.984 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.2145, allocations: 215.4 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.2145, allocations: 11.94 kB / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2145, allocations: 0 / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.2146, allocations: 15.92 kB / 0.7349 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.2147, allocations: 4 kB / 0.735 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2147, allocations: 0 / 0.735 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.54e-05/0.2148, allocations: 97.89 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2148, allocations: 0 / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003195/0.2151, allocations: 28 kB / 0.7351 GB, free: 10.28 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.0008286/0.2159, allocations: 0.7514 MB / 0.7358 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.2164, allocations: 197.1 kB / 0.736 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2164, allocations: 3.938 kB / 0.736 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.2165, allocations: 35.92 kB / 0.736 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.2169, allocations: 19.92 kB / 0.736 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.2194, allocations: 1.843 MB / 0.7378 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.2195, allocations: 75.33 kB / 0.7379 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.2195, allocations: 7.984 kB / 0.7379 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.2196, allocations: 19.44 kB / 0.7379 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.2196, allocations: 0 / 0.7379 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.2469, allocations: 2.843 MB / 0.7407 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.17, allocations: 20.17 kB / 0.7407 GB, free: 4.445 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.01843887299765] Failed to read output from testmodel.py, exit status != 0: 12.333980319090188 12.349086827 12.137900205 Calling exit ...