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.001337/0.001337, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001496/0.001496, allocations: 209.8 kB / 22.99 MB, free: 4.977 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.985/0.985, allocations: 149.9 MB / 463 MB, free: 10.38 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.002144/0.002144, allocations: 62.19 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1996, allocations: 89.17 MB / 0.7282 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00225/0.2019, allocations: 0.6512 MB / 0.7288 GB, free: 416 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2037, allocations: 1.221 MB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.2038, allocations: 4 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.2038, allocations: 3.938 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.2039, allocations: 11.91 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.2045, allocations: 227.5 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.2048, allocations: 171.7 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.2049, allocations: 11.98 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.205, allocations: 67.89 kB / 0.7305 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2051, allocations: 55.84 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.2052, allocations: 19.94 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.2053, allocations: 27.98 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.2053, allocations: 15.98 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.2054, allocations: 51.89 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.2056, allocations: 163.8 kB / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2056, allocations: 0 / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2056, allocations: 0 / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2056, allocations: 0 / 0.7308 GB, free: 14.36 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.0006389/0.2063, allocations: 365.5 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2063, allocations: 11.97 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.2064, allocations: 30.75 kB / 0.7312 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.2064, allocations: 20.81 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2065, allocations: 110.5 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.2066, allocations: 12.36 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.2066, allocations: 16.12 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2067, allocations: 53.67 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2068, allocations: 4 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2068, allocations: 0 / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2068, allocations: 0 / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.2068, allocations: 15.94 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.2074, allocations: 303.8 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.2075, allocations: 30.56 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.2075, allocations: 16.8 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2075, allocations: 4 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.2078, allocations: 91.39 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.2078, allocations: 0 / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0003242/0.2081, allocations: 129.5 kB / 0.732 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.2082, allocations: 55.41 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.2083, allocations: 126.7 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.2083, allocations: 33.7 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.2084, allocations: 92.36 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2084, allocations: 15.91 kB / 0.7323 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.2085, allocations: 53.67 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2087, allocations: 322.8 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.2089, allocations: 127.4 kB / 0.7327 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.2091, allocations: 165.4 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.2094, allocations: 185.3 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2094, allocations: 0 / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005335/0.2099, allocations: 344.2 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/0.21, allocations: 71.77 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.21, allocations: 0 / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.21, allocations: 8 kB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.2101, allocations: 11.92 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2101, allocations: 3.938 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.2104, allocations: 59.98 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.2105, allocations: 19.94 kB / 0.7336 GB, free: 11.19 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.0001314/0.2106, allocations: 130.5 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.2106, allocations: 7.953 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.2106, allocations: 8.375 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2106, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2107, allocations: 0 / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2107, allocations: 3.938 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.211, allocations: 329.5 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.211, allocations: 0 / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.211, allocations: 8 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.211, allocations: 0 / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2111, allocations: 4 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2111, allocations: 3.938 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2111, allocations: 4 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.2113, allocations: 199.4 kB / 0.7342 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.2113, allocations: 7.953 kB / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2113, allocations: 0 / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.2114, allocations: 3.938 kB / 0.7342 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.2114, allocations: 11.98 kB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2114, allocations: 4 kB / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.2115, allocations: 97.89 kB / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2115, allocations: 0 / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002816/0.2118, allocations: 32 kB / 0.7344 GB, free: 10.28 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.0006159/0.2124, allocations: 0.7436 MB / 0.7351 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.2129, allocations: 290.2 kB / 0.7354 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2129, allocations: 0 / 0.7354 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.213, allocations: 31.92 kB / 0.7354 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2133, allocations: 26.27 kB / 0.7354 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.216, allocations: 2.115 MB / 0.7375 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.2161, allocations: 80.19 kB / 0.7376 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.2162, allocations: 8.672 kB / 0.7376 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.2162, allocations: 31.42 kB / 0.7376 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2162, allocations: 0 / 0.7376 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.253, allocations: 3.751 MB / 0.7413 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.59, allocations: 9.172 kB / 0.7413 GB, free: 3.121 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 sys.exit(0), Time elapsed: 15.46997416485101] Failed to read output from testmodel.py, exit status != 0: 11.694465979002416 11.710483597 11.501609357 Calling exit ...