Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.00132/0.00132, allocations: 105 kB / 20.48 MB, free: 1.488 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.001396/0.001396, allocations: 214.8 kB / 23.79 MB, free: 4.703 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.52/1.52, allocations: 230.6 MB / 257.6 MB, free: 8.039 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 1.054/1.054, allocations: 150 MB / 464 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 178] 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.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="cs",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.002245/0.002245, allocations: 65.2 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1908, allocations: 89.17 MB / 0.7291 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.003288/0.1941, allocations: 0.6827 MB / 0.7298 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.1964, allocations: 1.233 MB / 0.731 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.1964, allocations: 0 / 0.731 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.1965, allocations: 7.922 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.1966, allocations: 7.875 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007975/0.1974, allocations: 227 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.1977, allocations: 175.7 kB / 0.7314 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1978, allocations: 11.98 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.1979, allocations: 71.88 kB / 0.7315 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1981, allocations: 63.86 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.1981, allocations: 12 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.1982, allocations: 39.91 kB / 0.7316 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.1982, allocations: 11.94 kB / 0.7316 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1983, allocations: 55.89 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.1986, allocations: 159.8 kB / 0.7318 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1986, allocations: 0 / 0.7318 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.735e-06/0.1986, allocations: 0 / 0.7318 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.1987, allocations: 0 / 0.7318 GB, free: 14.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008137/0.1995, allocations: 365.5 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.1995, allocations: 8.031 kB / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.835e-05/0.1995, allocations: 8.188 kB / 0.7322 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.1996, allocations: 34.73 kB / 0.7322 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.1996, allocations: 12.89 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1998, allocations: 113.8 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1998, allocations: 4.375 kB / 0.7323 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.1998, allocations: 19.88 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.2, allocations: 53.61 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2, allocations: 0 / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2, allocations: 0 / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2, allocations: 0 / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.2, allocations: 15.98 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.2006, allocations: 343.6 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.2007, allocations: 34.5 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.2008, allocations: 20.94 kB / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.2008, allocations: 0 / 0.7328 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.201, allocations: 83.36 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.201, allocations: 0 / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.000307/0.2013, allocations: 129.6 kB / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.2014, allocations: 63.33 kB / 0.733 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2015, allocations: 117.8 kB / 0.7332 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2015, allocations: 33.7 kB / 0.7332 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.2016, allocations: 92.36 kB / 0.7333 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.2016, allocations: 15.91 kB / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2018, allocations: 49.69 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.2019, allocations: 326.8 kB / 0.7337 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2021, allocations: 63.97 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2022, allocations: 110 kB / 0.7338 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.2025, allocations: 189.3 kB / 0.734 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2025, allocations: 0 / 0.734 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005118/0.203, allocations: 280.8 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.892e-05/0.2031, allocations: 67.39 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2031, allocations: 4 kB / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2031, allocations: 0 / 0.7343 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.837e-05/0.2032, allocations: 16.53 kB / 0.7343 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2032, allocations: 3.938 kB / 0.7344 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.2035, allocations: 63.75 kB / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.2036, allocations: 12.09 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.000135/0.2037, allocations: 130.5 kB / 0.7345 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.2037, allocations: 15.94 kB / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.2038, allocations: 8.375 kB / 0.7346 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2038, allocations: 7.938 kB / 0.7346 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.2038, allocations: 0 / 0.7346 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2038, allocations: 3.938 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.2041, allocations: 321.6 kB / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2041, allocations: 3.984 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.2042, allocations: 3.938 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2042, allocations: 0 / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2042, allocations: 4 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.2042, allocations: 7.938 kB / 0.7349 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2042, allocations: 0 / 0.7349 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.2044, allocations: 195.4 kB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.2044, allocations: 11.94 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.2044, allocations: 0 / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.2045, allocations: 11.94 kB / 0.7351 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.2045, allocations: 7.984 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2045, allocations: 4 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.2046, allocations: 95.27 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2046, allocations: 0 / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002888/0.2049, allocations: 36 kB / 0.7353 GB, free: 10.67 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005718/0.2054, allocations: 0.7398 MB / 0.736 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.2058, allocations: 234.6 kB / 0.7362 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2058, allocations: 0 / 0.7362 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.2059, allocations: 31.98 kB / 0.7362 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2062, allocations: 15.92 kB / 0.7362 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.2085, allocations: 1.885 MB / 0.7381 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2088, allocations: 0.6855 MB / 0.7388 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.2089, allocations: 8.656 kB / 0.7388 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.2089, allocations: 19.44 kB / 0.7388 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.2089, allocations: 0 / 0.7388 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.2334, allocations: 3.187 MB / 0.7419 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.47, allocations: 17.23 kB / 0.7419 GB, free: 3.828 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.46217183500994] Failed to read output from testmodel.py, exit status != 0: 11.62764588801656 11.646870947 11.444743309 Calling exit ...