Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.0009747/0.0009747, allocations: 82.64 kB / 21.44 MB, free: 3.055 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.001552/0.001552, allocations: 168.5 kB / 24.84 MB, free: 9.289 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.9922/0.9922, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.6475/0.6475, allocations: 115 MB / 376.8 MB, free: 7.48 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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.9844 kB / 482.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.704e-05, allocations: 2.312 kB / 482.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001142/0.001159, allocations: 0.7003 MB / 483.5 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007703/0.001929, allocations: 0.911 MB / 484.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.001962, allocations: 0 / 484.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.001984, allocations: 3.938 kB / 484.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.002047, allocations: 8.5 kB / 484.4 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.002182, allocations: 20.16 kB / 484.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.994e-05/0.002242, allocations: 39.75 kB / 484.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.002322, allocations: 16.38 kB / 484.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.931e-05/0.002391, allocations: 22.48 kB / 484.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.381e-05/0.002435, allocations: 18.58 kB / 484.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.002451, allocations: 2.688 kB / 484.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.002459, allocations: 3.062 kB / 484.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.002475, allocations: 9.938 kB / 484.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.002492, allocations: 11 kB / 484.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.88e-05/0.002561, allocations: 37.08 kB / 484.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002562, allocations: 1.375 kB / 484.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.002563, allocations: 0 / 484.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.002566, allocations: 0 / 484.6 MB, free: 10.47 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002413/0.002807, allocations: 374.8 kB / 485 MB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.002839, allocations: 9.188 kB / 485 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.002861, allocations: 5.062 kB / 485 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.097e-05/0.002922, allocations: 128.3 kB / 485.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.002931, allocations: 1.438 kB / 485.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.00294, allocations: 2.625 kB / 485.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.003031, allocations: 63.7 kB / 485.2 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-06/0.003036, allocations: 192 / 485.2 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.003042, allocations: 1.438 kB / 485.2 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.003046, allocations: 1.562 kB / 485.2 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.003068, allocations: 19.67 kB / 485.2 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.003446, allocations: 240.6 kB / 485.5 MB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.003509, allocations: 37.66 kB / 485.5 MB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.003527, allocations: 13.3 kB / 485.5 MB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.00354, allocations: 2.031 kB / 485.5 MB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.003553, allocations: 39.55 kB / 485.5 MB, free: 25.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.003554, allocations: 0 / 485.5 MB, free: 25.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001189/0.003673, allocations: 54.02 kB / 485.6 MB, free: 25.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.00369, allocations: 51.41 kB / 485.6 MB, free: 25.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.003746, allocations: 167.4 kB / 485.8 MB, free: 25.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.003753, allocations: 26.73 kB / 485.8 MB, free: 25.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.003789, allocations: 136.6 kB / 486 MB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.003804, allocations: 9.062 kB / 486 MB, free: 25.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.003827, allocations: 24.11 kB / 486 MB, free: 25.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.003919, allocations: 493.2 kB / 486.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.00393, allocations: 5.719 kB / 486.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.00394, allocations: 2.156 kB / 486.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.003965, allocations: 20.97 kB / 486.5 MB, free: 24.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.003967, allocations: 0.625 kB / 486.5 MB, free: 24.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.163e-05/0.004018, allocations: 39.66 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.00403, allocations: 6.25 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.004033, allocations: 0.75 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.004041, allocations: 5 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.004109, allocations: 11.83 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-06/0.004111, allocations: 320 / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.004136, allocations: 13.03 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.00414, allocations: 1.094 kB / 486.6 MB, free: 24.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.161e-05/0.004192, allocations: 158.6 kB / 486.7 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.004209, allocations: 6.859 kB / 486.8 MB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.004231, allocations: 8.938 kB / 486.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.004233, allocations: 5.906 kB / 486.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.004236, allocations: 5.031 kB / 486.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004238, allocations: 1.031 kB / 486.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.608e-05/0.004314, allocations: 107 kB / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004315, allocations: 0 / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.004346, allocations: 12.42 kB / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.004347, allocations: 0 / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.004351, allocations: 1.875 kB / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.004352, allocations: 7.922 kB / 486.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.004354, allocations: 1.125 kB / 486.9 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.952e-05/0.004443, allocations: 194.6 kB / 487.1 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.00445, allocations: 9.422 kB / 487.1 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.004457, allocations: 0 / 487.1 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.004493, allocations: 8.328 kB / 487.1 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.004521, allocations: 17.38 kB / 487.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.004524, allocations: 1.062 kB / 487.1 MB, free: 23.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.901e-05/0.004563, allocations: 131.3 kB / 487.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004563, allocations: 2.156 kB / 487.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.004698, allocations: 6.156 kB / 487.3 MB, free: 23.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 5.341e-05/0.004751, allocations: 92.94 kB / 487.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.559e-05/0.004807, allocations: 18.75 kB / 487.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.004808, allocations: 2.906 kB / 487.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.004827, allocations: 17.28 kB / 487.4 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.004993, allocations: 16.33 kB / 487.4 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.00517, allocations: 133.1 kB / 487.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.633e-05/0.005197, allocations: 56.05 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.005214, allocations: 1.969 kB / 487.6 MB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.005263, allocations: 77.23 kB / 487.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005263, allocations: 0 / 487.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of Templates: time 0.002092/0.007355, allocations: 0.8832 MB / 488.5 MB, free: 23.39 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.567006342113018]