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.001032/0.001032, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009741/0.0009741, allocations: 169 kB / 24.25 MB, free: 304 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.9555/0.9555, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.604/0.604, allocations: 115 MB / 376 MB, free: 7.656 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.758e-05, allocations: 4 kB / 481.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001556/0.001584, allocations: 0.6672 MB / 482.2 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.005816, allocations: 1.107 MB / 483.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.005871, allocations: 4.438 kB / 483.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.005902, allocations: 3.938 kB / 483.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.005967, allocations: 8.547 kB / 483.3 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.006264, allocations: 49.81 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.00636, allocations: 47.84 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.006453, allocations: 5.094 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.006535, allocations: 24.14 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.00658, allocations: 25.25 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.006601, allocations: 5 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.006665, allocations: 23.92 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.006685, allocations: 6.25 kB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.006717, allocations: 19.44 kB / 483.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.006848, allocations: 52.48 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006851, allocations: 2.031 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.006852, allocations: 3.438 kB / 483.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.006856, allocations: 0 / 483.5 MB, free: 10.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004088/0.007265, allocations: 389.6 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.007301, allocations: 9.594 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.007407, allocations: 7.312 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.538e-05/0.007472, allocations: 114.6 kB / 484 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.007483, allocations: 0.9375 kB / 484 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.007494, allocations: 6.844 kB / 484.1 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.01066, allocations: 65.81 kB / 484.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.01067, allocations: 1.188 kB / 484.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.01068, allocations: 4.375 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.01069, allocations: 2.406 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.01073, allocations: 17.86 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.01108, allocations: 263.9 kB / 484.4 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.538e-05/0.01116, allocations: 42.16 kB / 484.4 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.01119, allocations: 13.78 kB / 484.5 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.01121, allocations: 5.375 kB / 484.5 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.627e-05/0.01129, allocations: 64.23 kB / 484.5 MB, free: 9.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.552e-06/0.0113, allocations: 0.5312 kB / 484.5 MB, free: 9.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002074/0.0115, allocations: 75.36 kB / 484.6 MB, free: 9.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.01154, allocations: 53.31 kB / 484.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.0116, allocations: 168.4 kB / 484.8 MB, free: 9.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.01161, allocations: 34.61 kB / 484.8 MB, free: 9.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.01182, allocations: 134.4 kB / 485 MB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.01183, allocations: 17.47 kB / 485 MB, free: 25.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.01188, allocations: 28.38 kB / 485 MB, free: 25.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.012, allocations: 0.4887 MB / 485.5 MB, free: 24.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.01202, allocations: 6.484 kB / 485.5 MB, free: 24.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.01206, allocations: 46.98 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.616e-05/0.01213, allocations: 63.97 kB / 485.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01213, allocations: 0 / 485.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001201/0.01225, allocations: 78.42 kB / 485.7 MB, free: 24.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.01227, allocations: 7.875 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01227, allocations: 2.656 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01229, allocations: 1 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.01237, allocations: 16.17 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01238, allocations: 3.5 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.01242, allocations: 8.375 kB / 485.7 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.01242, allocations: 5.75 kB / 485.7 MB, free: 24.49 MB / 426.7 MB 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 7.583e-05/0.0125, allocations: 159.2 kB / 485.9 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.01252, allocations: 8.656 kB / 485.9 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.01264, allocations: 74.25 kB / 486 MB, free: 24.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01265, allocations: 6.875 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01265, allocations: 1.031 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01265, allocations: 3.938 kB / 486 MB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.01288, allocations: 319.3 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01288, allocations: 1.125 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.01292, allocations: 5.719 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01292, allocations: 1.188 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01293, allocations: 4.297 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01293, allocations: 0.9688 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01294, allocations: 4.75 kB / 486.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.01307, allocations: 211.5 kB / 486.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.01307, allocations: 11.39 kB / 486.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.01309, allocations: 4 kB / 486.5 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.01316, allocations: 4.688 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.0132, allocations: 5.656 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.01321, allocations: 3.594 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.01326, allocations: 136 kB / 486.7 MB, free: 23.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01326, allocations: 0 / 486.7 MB, free: 23.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003259/0.01651, allocations: 10.28 kB / 486.7 MB, free: 23.63 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 (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.0001516/0.01667, allocations: 99.31 kB / 486.8 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.0168, allocations: 38.38 kB / 486.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0168, allocations: 1.156 kB / 486.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.01684, allocations: 28.47 kB / 486.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.01711, allocations: 16.05 kB / 486.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.01764, allocations: 148.6 kB / 487 MB, free: 23.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.01767, allocations: 55.73 kB / 487.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.022e-05/0.0177, allocations: 6.484 kB / 487.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.01773, allocations: 11.59 kB / 487.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01773, allocations: 1.156 kB / 487.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of Templates: time 0.005939/0.02367, allocations: 0.8408 MB / 487.9 MB, free: 23.22 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5290872789919376]