Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001814/0.001814, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.002336/0.002336, allocations: 210.8 kB / 23.04 MB, free: 5.008 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.465/1.465, 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.9633/0.9633, allocations: 150 MB / 463.2 MB, free: 10.16 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.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",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.002033/0.002033, allocations: 66.84 kB / 0.6413 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1822, allocations: 89.19 MB / 0.7284 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001851/0.1841, allocations: 0.6348 MB / 0.729 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1856, allocations: 1.089 MB / 0.73 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.1856, allocations: 3.938 kB / 0.73 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.1857, allocations: 0 / 0.73 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.1857, allocations: 3.938 kB / 0.73 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.186, allocations: 47.83 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1861, allocations: 51.78 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.1862, allocations: 8 kB / 0.7301 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.1862, allocations: 19.92 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.1863, allocations: 15.92 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1863, allocations: 4 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.824e-05/0.1864, allocations: 27.97 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1864, allocations: 11.98 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.1864, allocations: 11.94 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1866, allocations: 64 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1866, allocations: 0 / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1866, allocations: 0 / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.1866, allocations: 0 / 0.7303 GB, free: 14.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005914/0.1872, allocations: 294.2 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1872, allocations: 12.03 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.1872, allocations: 34.69 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.1873, allocations: 8.891 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1874, allocations: 118.5 kB / 0.7307 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.1874, allocations: 384 / 0.7307 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1875, allocations: 4.375 kB / 0.7307 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1877, allocations: 58.23 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1877, allocations: 7.938 kB / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1877, allocations: 0 / 0.7308 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1877, allocations: 7.922 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1879, allocations: 43.97 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.1883, allocations: 247.8 kB / 0.7311 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1885, allocations: 50.55 kB / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1886, allocations: 32.95 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1886, allocations: 0 / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.1888, allocations: 75.31 kB / 0.7312 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1888, allocations: 4 kB / 0.7312 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004602/0.1893, allocations: 121.6 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1894, allocations: 51.41 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1895, allocations: 114 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1895, allocations: 25.7 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.1895, allocations: 88.14 kB / 0.7316 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1896, allocations: 7.906 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.1896, allocations: 25.7 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1898, allocations: 322.8 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1899, allocations: 31.91 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.19, allocations: 47.36 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1902, allocations: 79.39 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1902, allocations: 4 kB / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002695/0.1905, allocations: 101.5 kB / 0.7322 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1905, allocations: 8 kB / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1905, allocations: 0 / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1905, allocations: 0 / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1906, allocations: 15.98 kB / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1906, allocations: 0 / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.1907, allocations: 16.03 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1907, allocations: 4 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.000103/0.1908, allocations: 125.7 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1908, allocations: 4 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.1911, allocations: 98.02 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1911, allocations: 4 kB / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1911, allocations: 0 / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1911, allocations: 0 / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.1916, allocations: 333.5 kB / 0.7328 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1916, allocations: 48 / 0.7328 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.1916, allocations: 11.97 kB / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1916, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1916, allocations: 4 kB / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1916, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1916, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.192, allocations: 203.8 kB / 0.733 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.192, allocations: 15.89 kB / 0.733 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.192, allocations: 0 / 0.733 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1921, allocations: 11.98 kB / 0.733 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.1921, allocations: 7.922 kB / 0.733 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1921, allocations: 4 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.1922, allocations: 83.28 kB / 0.7331 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1922, allocations: 0 / 0.7331 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002372/0.1924, allocations: 8 kB / 0.7331 GB, free: 11.55 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0006549/0.1931, allocations: 0.728 MB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.1933, allocations: 63.88 kB / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1933, allocations: 0 / 0.7339 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.1935, allocations: 35.92 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1937, allocations: 13.33 kB / 0.734 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.1954, allocations: 1.383 MB / 0.7353 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.504e-05/0.1954, allocations: 67.3 kB / 0.7354 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.1955, allocations: 4 kB / 0.7354 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1955, allocations: 19.44 kB / 0.7354 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.1955, allocations: 0 / 0.7354 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.2334, allocations: 2.306 MB / 0.7376 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.08, allocations: 14.17 kB / 0.7377 GB, free: 6.918 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.86619906895794] Failed to read output from testmodel.py, exit status != 0: 11.190352331846952 11.216652806 11.025149121 Calling exit ...