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.0009768/0.0009768, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.002108/0.002108, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.925/0.925, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.6292/0.6292, allocations: 115 MB / 376 MB, free: 7.5 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 2.144e-06/2.144e-06, allocations: 1.094 kB / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.59e-05, allocations: 4.188 kB / 481.9 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001269/0.001285, allocations: 0.6713 MB / 482.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.002256, allocations: 1.122 MB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01005/0.01231, allocations: 1.188 kB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.01234, allocations: 7.75 kB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.0124, allocations: 10.69 kB / 483.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.01263, allocations: 50.75 kB / 483.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.01271, allocations: 50.59 kB / 483.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.01277, allocations: 11.3 kB / 483.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.01285, allocations: 28.83 kB / 483.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.01289, allocations: 20.42 kB / 483.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.0129, allocations: 5 kB / 483.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.01296, allocations: 19.14 kB / 483.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.01298, allocations: 14.44 kB / 484 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.013, allocations: 12.61 kB / 484 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.01311, allocations: 57.3 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01311, allocations: 0.9375 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01311, allocations: 1.188 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.01312, allocations: 3.938 kB / 484 MB, free: 10.44 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.0003382/0.01345, allocations: 391.7 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.01349, allocations: 9.281 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.622e-05/0.01356, allocations: 8.719 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.068e-05/0.01361, allocations: 123.7 kB / 484.5 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.01362, allocations: 1.844 kB / 484.5 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.01363, allocations: 3 kB / 484.6 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.01372, allocations: 66.91 kB / 484.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.01373, allocations: 0.9375 kB / 484.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.01374, allocations: 384 / 484.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.01374, allocations: 2.188 kB / 484.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.01377, allocations: 21.64 kB / 484.6 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.01399, allocations: 246.6 kB / 484.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.01405, allocations: 46.89 kB / 484.9 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.01407, allocations: 15.88 kB / 484.9 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.01408, allocations: 5.969 kB / 484.9 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.01414, allocations: 70.98 kB / 485 MB, free: 9.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.01415, allocations: 0 / 485 MB, free: 9.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001467/0.01429, allocations: 75.69 kB / 485.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.01431, allocations: 52.47 kB / 485.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.01447, allocations: 164.7 kB / 485.3 MB, free: 25.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.01448, allocations: 30.95 kB / 485.3 MB, free: 25.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.01452, allocations: 135.4 kB / 485.5 MB, free: 25.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.01454, allocations: 23.3 kB / 485.5 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.01457, allocations: 34.2 kB / 485.5 MB, free: 24.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.01474, allocations: 494.3 kB / 486 MB, free: 24.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.01475, allocations: 12.56 kB / 486 MB, free: 24.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.01478, allocations: 54.48 kB / 486.1 MB, free: 24.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.01484, allocations: 67.31 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01484, allocations: 0 / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.546e-05/0.01493, allocations: 83.33 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.01494, allocations: 5 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01495, allocations: 5.469 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01496, allocations: 3.562 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.01502, allocations: 13.95 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.01503, allocations: 2.125 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.01506, allocations: 13.3 kB / 486.3 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01507, allocations: 7.375 kB / 486.3 MB, free: 24.3 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 0.006086/0.02116, allocations: 160.6 kB / 486.4 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.02117, allocations: 8.312 kB / 486.4 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.02129, allocations: 79.77 kB / 486.5 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.02129, allocations: 1.062 kB / 486.5 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.02129, allocations: 2.344 kB / 486.5 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.02129, allocations: 0 / 486.5 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.02149, allocations: 300.9 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.02149, allocations: 0 / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.02153, allocations: 8.062 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.02153, allocations: 3.938 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.02154, allocations: 4.594 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02154, allocations: 2.812 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.02154, allocations: 3.938 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.627e-05/0.02163, allocations: 216.1 kB / 487 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-06/0.02163, allocations: 13.42 kB / 487.1 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.02165, allocations: 5.062 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.02169, allocations: 5.75 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.02171, allocations: 9.609 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.02172, allocations: 1.938 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.02175, allocations: 127.7 kB / 487.2 MB, free: 23.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02175, allocations: 0 / 487.2 MB, free: 23.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.02189, allocations: 15.5 kB / 487.2 MB, free: 23.46 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 7.914e-05/0.02197, allocations: 106.7 kB / 487.3 MB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.005e-05/0.02205, allocations: 39.8 kB / 487.4 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.02205, allocations: 0 / 487.4 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.02209, allocations: 24.89 kB / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.02233, allocations: 16.05 kB / 487.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.02269, allocations: 153.2 kB / 487.5 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.748e-05/0.02272, allocations: 58.5 kB / 487.6 MB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.02275, allocations: 5.875 kB / 487.6 MB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.0228, allocations: 80.94 kB / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0228, allocations: 0 / 487.7 MB, free: 23.05 MB / 426.7 MB Notification: Performance of Templates: time 0.002797/0.0256, allocations: 0.9605 MB / 488.7 MB, free: 22.96 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.5221577477641404]