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.001701/0.001701, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00166/0.00166, allocations: 217 kB / 23.78 MB, free: 4.523 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.793 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 0.9825/0.9825, allocations: 150 MB / 464 MB, free: 10.29 MB / 366.1 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: "" <> 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.002053/0.002053, allocations: 67.17 kB / 0.642 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1984, allocations: 89.17 MB / 0.729 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00195/0.2003, allocations: 0.6557 MB / 0.7297 GB, free: 196 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2021, allocations: 1.225 MB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.2022, allocations: 4 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.2022, allocations: 3.938 kB / 0.7309 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.2023, allocations: 7.938 kB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.203, allocations: 224 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.2033, allocations: 179.6 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2034, allocations: 11.98 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2035, allocations: 63.95 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2037, allocations: 67.78 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.2037, allocations: 16 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.2038, allocations: 35.98 kB / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.2038, allocations: 11.98 kB / 0.7315 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.2039, allocations: 55.83 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.2042, allocations: 155.9 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2042, allocations: 0 / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2042, allocations: 0 / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2042, allocations: 0 / 0.7317 GB, free: 14.14 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.0006311/0.2048, allocations: 369.4 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2049, allocations: 8.031 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.322e-05/0.2049, allocations: 192 / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.2049, allocations: 38.73 kB / 0.7321 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.205, allocations: 20.83 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2051, allocations: 108.8 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2051, allocations: 8.375 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.2052, allocations: 15.88 kB / 0.7322 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2053, allocations: 53.67 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2053, allocations: 0 / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2053, allocations: 4 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2053, allocations: 0 / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.2054, allocations: 19.92 kB / 0.7323 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.2059, allocations: 295.8 kB / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.206, allocations: 42.55 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.2061, allocations: 20.94 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.2061, allocations: 0 / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.2063, allocations: 91.28 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.2063, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003219/0.2066, allocations: 129.6 kB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.2067, allocations: 55.39 kB / 0.7329 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2068, allocations: 121.8 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.2068, allocations: 33.7 kB / 0.7331 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2069, allocations: 92.36 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.207, allocations: 15.91 kB / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2071, allocations: 53.69 kB / 0.7332 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2072, allocations: 326.8 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.2074, allocations: 123.4 kB / 0.7336 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.2076, allocations: 169.3 kB / 0.7338 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.2079, allocations: 181.3 kB / 0.734 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2079, allocations: 11.94 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005843/0.2085, allocations: 344.2 kB / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.2085, allocations: 67.39 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.2086, allocations: 7.938 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2086, allocations: 0 / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.2086, allocations: 8.375 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.2086, allocations: 4 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.209, allocations: 63.92 kB / 0.7345 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.209, allocations: 15.98 kB / 0.7345 GB, free: 10.96 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.0001175/0.2091, allocations: 129.7 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.2091, allocations: 7.953 kB / 0.7346 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.2092, allocations: 12.36 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2092, allocations: 0 / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2092, allocations: 4 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2092, allocations: 3.938 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.2095, allocations: 321.6 kB / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2095, allocations: 0 / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.2096, allocations: 0 / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2096, allocations: 0 / 0.7349 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2096, allocations: 7.984 kB / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2096, allocations: 3.938 kB / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2096, allocations: 0 / 0.7349 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.2098, allocations: 199.4 kB / 0.7351 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.2098, allocations: 3.953 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.2098, allocations: 8 kB / 0.7351 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.2099, allocations: 11.92 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.2099, allocations: 4 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2099, allocations: 3.984 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.21, allocations: 99 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.21, allocations: 0 / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002916/0.2103, allocations: 31.98 kB / 0.7353 GB, free: 10.05 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.0005547/0.2108, allocations: 0.7475 MB / 0.736 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.2113, allocations: 294.3 kB / 0.7363 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2113, allocations: 4.062 kB / 0.7363 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.2113, allocations: 31.91 kB / 0.7363 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.2116, allocations: 19.92 kB / 0.7363 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.2142, allocations: 2.115 MB / 0.7384 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.2143, allocations: 76.27 kB / 0.7385 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.2143, allocations: 12.66 kB / 0.7385 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.2144, allocations: 19.44 kB / 0.7385 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2144, allocations: 0 / 0.7385 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2385, allocations: 3.371 MB / 0.7418 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.63, allocations: 4 kB / 0.7418 GB, free: 3.293 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.647313604014926] Failed to read output from testmodel.py, exit status != 0: 11.821567761013284 11.84772737 11.638823227 Calling exit ...