Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001265/0.001265, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001552/0.001552, allocations: 219.2 kB / 23 MB, free: 5.004 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9115/0.9115, allocations: 150 MB / 463.2 MB, free: 10.53 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.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",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.001981/0.001981, allocations: 71.44 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1976, allocations: 89.17 MB / 0.7283 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002094/0.1997, allocations: 0.662 MB / 0.729 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2013, allocations: 1.112 MB / 0.7301 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.2014, allocations: 0 / 0.7301 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.2014, allocations: 7.875 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-05/0.2015, allocations: 3.938 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.2018, allocations: 47.83 kB / 0.7301 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.202, allocations: 43.91 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.2021, allocations: 11.98 kB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.2022, allocations: 31.81 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.2022, allocations: 27.89 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.2022, allocations: 4 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.2023, allocations: 19.98 kB / 0.7303 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.2023, allocations: 15.98 kB / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.2024, allocations: 15.88 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.2025, allocations: 64 kB / 0.7304 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2026, allocations: 0 / 0.7304 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.737e-06/0.2026, allocations: 3.984 kB / 0.7304 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.2026, allocations: 0 / 0.7304 GB, free: 15.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006202/0.2032, allocations: 294.2 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2032, allocations: 8.031 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.2033, allocations: 38.75 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.2034, allocations: 12.88 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2035, allocations: 114.4 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2035, allocations: 4.375 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2035, allocations: 8.375 kB / 0.7308 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2037, allocations: 66.22 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2037, allocations: 3.938 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2037, allocations: 4 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2037, allocations: 0 / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.2039, allocations: 39.95 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.2044, allocations: 255.8 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.2046, allocations: 54.56 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.2047, allocations: 28.95 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2047, allocations: 0 / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.2049, allocations: 83.42 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.2049, allocations: 4 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004364/0.2054, allocations: 125.5 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2054, allocations: 51.41 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2055, allocations: 109.8 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2055, allocations: 29.7 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.2056, allocations: 84.14 kB / 0.7317 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.2056, allocations: 27.78 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.2057, allocations: 21.72 kB / 0.7318 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2058, allocations: 326.8 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-05/0.2059, allocations: 19.98 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.206, allocations: 68.14 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.2063, allocations: 104.1 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2063, allocations: 0 / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002742/0.2066, allocations: 113.6 kB / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2066, allocations: 4 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2066, allocations: 4 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2066, allocations: 0 / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2067, allocations: 19.92 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.2067, allocations: 4 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.2068, allocations: 11.94 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2068, allocations: 8 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001067/0.2069, allocations: 121.9 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2069, allocations: 0 / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.2072, allocations: 113.9 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.2072, allocations: 3.984 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2072, allocations: 0 / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2073, allocations: 0 / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.2077, allocations: 333.5 kB / 0.733 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2077, allocations: 0 / 0.733 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.2078, allocations: 11.98 kB / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2078, allocations: 4 kB / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.2078, allocations: 0 / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2078, allocations: 0 / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2078, allocations: 0 / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.2081, allocations: 203.4 kB / 0.7332 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.2081, allocations: 11.89 kB / 0.7332 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2082, allocations: 0 / 0.7332 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2083, allocations: 12.23 kB / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2083, allocations: 15.86 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2083, allocations: 4 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.2084, allocations: 83.28 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2084, allocations: 4 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002399/0.2086, allocations: 12 kB / 0.7333 GB, free: 11.92 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * 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.0006761/0.2093, allocations: 0.7369 MB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.2096, allocations: 67.88 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2096, allocations: 4 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.2097, allocations: 32.53 kB / 0.7341 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.21, allocations: 16.06 kB / 0.7341 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.2116, allocations: 1.431 MB / 0.7355 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.212, allocations: 0.6846 MB / 0.7362 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.212, allocations: 4 kB / 0.7362 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.212, allocations: 19.42 kB / 0.7362 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.212, allocations: 0 / 0.7362 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.2414, allocations: 1.947 MB / 0.7381 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.66, allocations: 4.062 kB / 0.7381 GB, free: 6.965 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.225733124883845] Failed to read output from testmodel.py, exit status != 0: 10.756114115007222 10.780727766 10.573508796 Calling exit ...