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.001551/0.001551, allocations: 119 kB / 19.69 MB, free: 2.199 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.001474/0.001474, allocations: 221.8 kB / 23.01 MB, free: 5.043 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9308/0.9308, allocations: 150 MB / 463.2 MB, free: 10.46 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.002102/0.002102, allocations: 68.14 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1753, allocations: 89.16 MB / 0.7283 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001988/0.1773, allocations: 0.6571 MB / 0.729 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1787, allocations: 1.108 MB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.1788, allocations: 3.938 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.1788, allocations: 7.938 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.1789, allocations: 7.938 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1792, allocations: 39.83 kB / 0.7301 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1793, allocations: 47.91 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.1794, allocations: 8 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.1794, allocations: 19.92 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.1795, allocations: 19.86 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1795, allocations: 4 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.802e-05/0.1796, allocations: 31.97 kB / 0.7302 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.1796, allocations: 7.984 kB / 0.7302 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.1796, allocations: 23.86 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1798, allocations: 60.06 kB / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1798, allocations: 0 / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1798, allocations: 0 / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1798, allocations: 4 kB / 0.7303 GB, free: 15.18 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.000572/0.1804, allocations: 286.2 kB / 0.7306 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1804, allocations: 8.031 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.1805, allocations: 38.75 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.1806, allocations: 8.875 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.1807, allocations: 114.5 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1807, allocations: 4.375 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.1807, allocations: 384 / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1809, allocations: 70.16 kB / 0.7308 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1809, allocations: 3.938 kB / 0.7308 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1809, allocations: 0 / 0.7308 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1809, allocations: 4 kB / 0.7308 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1811, allocations: 47.95 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1815, allocations: 251.8 kB / 0.7311 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1817, allocations: 54.48 kB / 0.7312 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1818, allocations: 36.95 kB / 0.7312 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1818, allocations: 0 / 0.7312 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.182, allocations: 67.39 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.182, allocations: 0 / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0003947/0.1824, allocations: 121.6 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.1825, allocations: 59.34 kB / 0.7315 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.1825, allocations: 109.8 kB / 0.7316 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1826, allocations: 29.7 kB / 0.7316 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.1826, allocations: 84.12 kB / 0.7317 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.1826, allocations: 15.91 kB / 0.7317 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1827, allocations: 17.72 kB / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1828, allocations: 326.8 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.622e-05/0.1829, allocations: 23.98 kB / 0.732 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.183, allocations: 47.41 kB / 0.7321 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1832, allocations: 87.31 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1832, allocations: 0 / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002473/0.1835, allocations: 97.58 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1835, allocations: 11.94 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1835, allocations: 0 / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1835, allocations: 4 kB / 0.7323 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1836, allocations: 15.98 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1836, allocations: 4.094 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.1837, allocations: 11.95 kB / 0.7323 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.1837, allocations: 3.984 kB / 0.7323 GB, free: 12.94 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 9.254e-05/0.1838, allocations: 121.7 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.1838, allocations: 4 kB / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.184, allocations: 102.5 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.184, allocations: 4 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.184, allocations: 4 kB / 0.7325 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.184, allocations: 3.938 kB / 0.7325 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.1845, allocations: 333.5 kB / 0.7329 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1845, allocations: 0 / 0.7329 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.1845, allocations: 11.98 kB / 0.7329 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1845, allocations: 0 / 0.7329 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1845, allocations: 0 / 0.7329 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1846, allocations: 4 kB / 0.7329 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1846, allocations: 4 kB / 0.7329 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1848, allocations: 191.4 kB / 0.7331 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.1848, allocations: 7.953 kB / 0.7331 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1849, allocations: 0 / 0.7331 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.1849, allocations: 11.98 kB / 0.7331 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.185, allocations: 15.88 kB / 0.7331 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.185, allocations: 3.984 kB / 0.7331 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.185, allocations: 83.28 kB / 0.7332 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.185, allocations: 0 / 0.7332 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002328/0.1853, allocations: 12 kB / 0.7332 GB, free: 11.96 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.0005916/0.1859, allocations: 0.7241 MB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1861, allocations: 67.88 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1861, allocations: 0 / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1862, allocations: 31.92 kB / 0.734 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1865, allocations: 20.61 kB / 0.734 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.188, allocations: 1.379 MB / 0.7354 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1883, allocations: 0.6871 MB / 0.736 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.1884, allocations: 4 kB / 0.736 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1884, allocations: 15.44 kB / 0.736 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1884, allocations: 0 / 0.736 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.2162, allocations: 1.875 MB / 0.7379 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.76, allocations: 7.828 kB / 0.7379 GB, free: 7.141 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.367446218850091] Failed to read output from testmodel.py, exit status != 0: 10.865911162924021 10.893759062 10.708799344 Calling exit ...