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.001367/0.001367, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.00153/0.00153, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.663/1.663, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9914/0.9914, allocations: 150 MB / 459.5 MB, free: 5.32 MB / 350.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.002213/0.002213, allocations: 75.56 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1763, allocations: 89.13 MB / 0.7232 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001907/0.1782, allocations: 0.6671 MB / 0.7238 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1798, allocations: 1.235 MB / 0.725 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.1799, allocations: 11.94 kB / 0.725 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.1799, allocations: 3.938 kB / 0.725 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.18, allocations: 11.91 kB / 0.725 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.1806, allocations: 224.2 kB / 0.7253 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1809, allocations: 175.7 kB / 0.7254 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.1809, allocations: 8 kB / 0.7254 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.181, allocations: 71.88 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1812, allocations: 67.83 kB / 0.7256 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1812, allocations: 16 kB / 0.7256 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.1813, allocations: 27.98 kB / 0.7256 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.1813, allocations: 11.94 kB / 0.7256 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.1814, allocations: 59.81 kB / 0.7257 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1816, allocations: 159.8 kB / 0.7258 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1816, allocations: 4 kB / 0.7258 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1816, allocations: 0 / 0.7258 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1816, allocations: 0 / 0.7258 GB, free: 1.324 MB / 0.5294 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.0005878/0.1822, allocations: 446.6 kB / 0.7263 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1823, allocations: 8.031 kB / 0.7263 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.1823, allocations: 34.75 kB / 0.7263 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.1823, allocations: 16.88 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1825, allocations: 168.3 kB / 0.7265 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1825, allocations: 4.375 kB / 0.7265 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.1825, allocations: 12.12 kB / 0.7265 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1827, allocations: 53.67 kB / 0.7265 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1827, allocations: 0 / 0.7265 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1827, allocations: 0 / 0.7265 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1827, allocations: 7.938 kB / 0.7266 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.1827, allocations: 15.98 kB / 0.7266 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.1833, allocations: 360.6 kB / 0.7269 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.028e-05/0.1834, allocations: 38.56 kB / 0.727 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.1834, allocations: 21.02 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-06/0.1834, allocations: 0 / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.1836, allocations: 95.23 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1836, allocations: 0 / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002892/0.1839, allocations: 121.6 kB / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.1839, allocations: 63.39 kB / 0.7272 GB, free: 15.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.184, allocations: 117.8 kB / 0.7274 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1841, allocations: 29.7 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.1842, allocations: 100.3 kB / 0.7275 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1842, allocations: 15.91 kB / 0.7275 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1843, allocations: 53.69 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1844, allocations: 322.8 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1846, allocations: 59.97 kB / 0.7279 GB, free: 14.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1848, allocations: 109.9 kB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.185, allocations: 185.3 kB / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.185, allocations: 0 / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005142/0.1855, allocations: 288.8 kB / 0.7285 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.1856, allocations: 71.33 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1856, allocations: 4 kB / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1856, allocations: 0 / 0.7285 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.1857, allocations: 8 kB / 0.7285 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1857, allocations: 0 / 0.7285 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.186, allocations: 63.94 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.1861, allocations: 19.94 kB / 0.7286 GB, free: 14.14 MB / 0.545 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.0001167/0.1862, allocations: 125.8 kB / 0.7287 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.1862, allocations: 7.953 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.1862, allocations: 8.375 kB / 0.7288 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1862, allocations: 4 kB / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1862, allocations: 4 kB / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1862, allocations: 0 / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.1866, allocations: 370.8 kB / 0.7291 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1866, allocations: 0 / 0.7291 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.1866, allocations: 0 / 0.7291 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1866, allocations: 0 / 0.7291 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1866, allocations: 8 kB / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1866, allocations: 3.938 kB / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1866, allocations: 96 / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1868, allocations: 199.4 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.1869, allocations: 85.06 kB / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1869, allocations: 8 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.187, allocations: 3.938 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.187, allocations: 7.984 kB / 0.7294 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.187, allocations: 8 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.1871, allocations: 95.2 kB / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1871, allocations: 0 / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002938/0.1874, allocations: 28 kB / 0.7295 GB, free: 13.09 MB / 0.545 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.0005662/0.1879, allocations: 0.7436 MB / 0.7303 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.1883, allocations: 226.7 kB / 0.7305 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1883, allocations: 0 / 0.7305 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.057e-05/0.1884, allocations: 32.14 kB / 0.7305 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1887, allocations: 34.39 kB / 0.7306 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1909, allocations: 1.874 MB / 0.7324 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1913, allocations: 0.6885 MB / 0.7331 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.392e-05/0.1913, allocations: 8.656 kB / 0.7331 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.1913, allocations: 19.44 kB / 0.7331 GB, free: 9.277 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1913, allocations: 4 kB / 0.7331 GB, free: 9.273 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.2197, allocations: 3.02 MB / 0.736 GB, free: 6.375 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.185, allocations: 9.547 kB / 0.736 GB, free: 6.371 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 12.310538311954588] Failed to read output from testmodel.py, exit status != 0: 8.25592979695648 8.272570979 8.08792549 Calling exit ...