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.0009541/0.0009541, allocations: 92.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.001083/0.001083, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 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 0.9888/0.9888, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.6208/0.6208, allocations: 115 MB / 375.7 MB, free: 7.664 MB / 346.7 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: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.299e-05, allocations: 3.094 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001683/0.001706, allocations: 0.67 MB / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.003116, allocations: 1.126 MB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.003165, allocations: 2.375 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.003201, allocations: 3.938 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.00328, allocations: 9.391 kB / 483.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.003648, allocations: 51.61 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.003758, allocations: 46.3 kB / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003863, allocations: 15.59 kB / 483.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.167e-05/0.003954, allocations: 25.73 kB / 483.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.004008, allocations: 21.97 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.004027, allocations: 4.438 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-05/0.004098, allocations: 22.19 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.004124, allocations: 13.2 kB / 483.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.004163, allocations: 16.55 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.004308, allocations: 49.28 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004311, allocations: 1.188 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004311, allocations: 0.6875 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004315, allocations: 1.438 kB / 483.6 MB, free: 10.54 MB / 410.7 MB 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.0004822/0.004798, allocations: 395.3 kB / 484 MB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.004841, allocations: 9.656 kB / 484 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.004959, allocations: 9.484 kB / 484 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.533e-05/0.005035, allocations: 119.8 kB / 484.1 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005049, allocations: 8.094 kB / 484.1 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.005063, allocations: 3.469 kB / 484.1 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.005221, allocations: 70.2 kB / 484.2 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.005231, allocations: 192 / 484.2 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.005242, allocations: 2.562 kB / 484.2 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.005251, allocations: 1.531 kB / 484.2 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.005301, allocations: 13.91 kB / 484.2 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.005827, allocations: 273 kB / 484.5 MB, free: 25.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.005931, allocations: 46.11 kB / 484.5 MB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.005963, allocations: 16.67 kB / 484.5 MB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.005982, allocations: 2.375 kB / 484.5 MB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.818e-05/0.00607, allocations: 66.45 kB / 484.6 MB, free: 25.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.006071, allocations: 0 / 484.6 MB, free: 25.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002289/0.0063, allocations: 90.25 kB / 484.7 MB, free: 25.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.006342, allocations: 52.75 kB / 484.7 MB, free: 25.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.006431, allocations: 164.5 kB / 484.9 MB, free: 25.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.006443, allocations: 27.05 kB / 484.9 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.006493, allocations: 135.5 kB / 485 MB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.006518, allocations: 24.23 kB / 485.1 MB, free: 25.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.006562, allocations: 29.55 kB / 485.1 MB, free: 25.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.006685, allocations: 498.7 kB / 485.6 MB, free: 24.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.006725, allocations: 9.25 kB / 485.6 MB, free: 24.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.006776, allocations: 60.36 kB / 485.7 MB, free: 24.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.006867, allocations: 73.94 kB / 485.7 MB, free: 24.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.00687, allocations: 0 / 485.7 MB, free: 24.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001541/0.007024, allocations: 79.67 kB / 485.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.007043, allocations: 9.781 kB / 485.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.00705, allocations: 6.094 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.007068, allocations: 2.469 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.007177, allocations: 20.06 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.007185, allocations: 9.938 kB / 485.8 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.007239, allocations: 7.016 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.007251, allocations: 5.469 kB / 485.9 MB, free: 24.36 MB / 426.7 MB 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 8.94e-05/0.00734, allocations: 159.7 kB / 486 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.007361, allocations: 15.52 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.007517, allocations: 74.7 kB / 486.1 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.00752, allocations: 1.125 kB / 486.1 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.007524, allocations: 0 / 486.1 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007528, allocations: 0.9688 kB / 486.1 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.007807, allocations: 326.1 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.00781, allocations: 2.062 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.007866, allocations: 13.56 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.00787, allocations: 0 / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.007879, allocations: 2.188 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.007882, allocations: 1.125 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.007883, allocations: 0 / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.008066, allocations: 222.3 kB / 486.7 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.008078, allocations: 9.984 kB / 486.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.0081, allocations: 1.062 kB / 486.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.008188, allocations: 12.64 kB / 486.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.008231, allocations: 9.625 kB / 486.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.008246, allocations: 3.031 kB / 486.7 MB, free: 23.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.494e-05/0.008301, allocations: 122.9 kB / 486.8 MB, free: 23.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.008301, allocations: 1 kB / 486.8 MB, free: 23.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.008574, allocations: 19.39 kB / 486.8 MB, free: 23.48 MB / 426.7 MB 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.0001268/0.008701, allocations: 101.2 kB / 486.9 MB, free: 23.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.008849, allocations: 49.34 kB / 487 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.008851, allocations: 1.406 kB / 487 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.008898, allocations: 25.64 kB / 487 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.009186, allocations: 12 kB / 487 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.009704, allocations: 154.4 kB / 487.2 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.067e-05/0.009735, allocations: 56.48 kB / 487.2 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.166e-05/0.009767, allocations: 10.5 kB / 487.2 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.009796, allocations: 12.31 kB / 487.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.009797, allocations: 0 / 487.2 MB, free: 23.14 MB / 426.7 MB Notification: Performance of Templates: time 0.003744/0.01354, allocations: 0.9392 MB / 488.2 MB, free: 23.06 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3555159932002425]