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.001694/0.001694, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001985/0.001985, allocations: 206.2 kB / 23.04 MB, free: 5.008 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.723 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.9542/0.9542, allocations: 150 MB / 463.2 MB, free: 10.15 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",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.002001/0.002001, allocations: 70.67 kB / 0.6413 GB, free: 9.793 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2101, allocations: 89.17 MB / 0.7284 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00211/0.2122, allocations: 0.6574 MB / 0.729 GB, free: 36 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2141, allocations: 1.21 MB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.2142, allocations: 0 / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.2142, allocations: 3.938 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.2143, allocations: 23.84 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.2151, allocations: 222.7 kB / 0.7304 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.2153, allocations: 171.8 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2155, allocations: 11.97 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2156, allocations: 63.91 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2157, allocations: 59.83 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.2158, allocations: 23.88 kB / 0.7307 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.2158, allocations: 32 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.2159, allocations: 11.98 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.216, allocations: 51.83 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2162, allocations: 159.8 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2162, allocations: 8 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2162, allocations: 0 / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.2162, allocations: 0 / 0.731 GB, free: 13.99 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.000599/0.2168, allocations: 365.5 kB / 0.7313 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2169, allocations: 8.031 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.2169, allocations: 30.75 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.217, allocations: 12.89 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2171, allocations: 114.5 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.2171, allocations: 4.375 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.2171, allocations: 20.12 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2173, allocations: 49.61 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2173, allocations: 0 / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.2173, allocations: 0 / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2173, allocations: 7.984 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.2173, allocations: 11.98 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.2179, allocations: 299.8 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.218, allocations: 42.5 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.218, allocations: 16.8 kB / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.218, allocations: 0 / 0.7319 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.2182, allocations: 99.42 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2182, allocations: 0 / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003165/0.2186, allocations: 121.6 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.2186, allocations: 59.41 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2187, allocations: 127.2 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.2188, allocations: 33.7 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.2189, allocations: 88.38 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2189, allocations: 20.27 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.219, allocations: 57.69 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2191, allocations: 322.8 kB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2193, allocations: 119.4 kB / 0.7329 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2195, allocations: 173.3 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.2198, allocations: 185.3 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2198, allocations: 3.938 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005177/0.2203, allocations: 344.2 kB / 0.7336 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.2204, allocations: 67.39 kB / 0.7337 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2204, allocations: 7.984 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2204, allocations: 4 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.2205, allocations: 4 kB / 0.7337 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2205, allocations: 3.938 kB / 0.7337 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.2208, allocations: 59.98 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.2209, allocations: 23.92 kB / 0.7338 GB, free: 10.82 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.0001256/0.221, allocations: 119 kB / 0.7339 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.221, allocations: 7.953 kB / 0.7339 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.221, allocations: 8.375 kB / 0.7339 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.221, allocations: 4 kB / 0.7339 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.221, allocations: 0 / 0.7339 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.221, allocations: 7.922 kB / 0.7339 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.2214, allocations: 325.5 kB / 0.7342 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2214, allocations: 4 kB / 0.7342 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.2214, allocations: 4 kB / 0.7342 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2214, allocations: 3.938 kB / 0.7342 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2214, allocations: 4 kB / 0.7342 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2214, allocations: 3.938 kB / 0.7342 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2214, allocations: 0 / 0.7342 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.2217, allocations: 203.4 kB / 0.7344 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.2217, allocations: 7.953 kB / 0.7344 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2217, allocations: 0 / 0.7344 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.2217, allocations: 7.938 kB / 0.7345 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.2218, allocations: 12.17 kB / 0.7345 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.2218, allocations: 4 kB / 0.7345 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.2219, allocations: 95.97 kB / 0.7346 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2219, allocations: 0 / 0.7346 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002801/0.2221, allocations: 32 kB / 0.7346 GB, free: 9.91 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.0006063/0.2227, allocations: 0.7452 MB / 0.7353 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.2232, allocations: 294 kB / 0.7356 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2232, allocations: 320 / 0.7356 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.2232, allocations: 24 kB / 0.7356 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2235, allocations: 23.92 kB / 0.7356 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.2261, allocations: 2.113 MB / 0.7377 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.992e-05/0.2261, allocations: 80.19 kB / 0.7378 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.2262, allocations: 8.672 kB / 0.7378 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.2262, allocations: 23.42 kB / 0.7378 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.2262, allocations: 4.281 kB / 0.7378 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.2592, allocations: 3.764 MB / 0.7415 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.32, allocations: 1.875 kB / 0.7415 GB, free: 2.766 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.13143567997031] Failed to read output from testmodel.py, exit status != 0: 11.423595051979646 11.43892518 11.219573704 Calling exit ...