Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.00124/0.00124, 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.001456/0.001456, allocations: 213.4 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.515/1.515, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.9555/0.9555, allocations: 150 MB / 464 MB, free: 10.5 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.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",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.002264/0.002264, allocations: 62.16 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.182, allocations: 89.18 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003169/0.1852, allocations: 1.812 MB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1873, allocations: 1.273 MB / 0.7321 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.1874, allocations: 7.938 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1877, allocations: 55.73 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.188, allocations: 127.5 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.1885, allocations: 199.4 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1887, allocations: 151.6 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.1888, allocations: 21.61 kB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.189, allocations: 63.72 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1891, allocations: 79.67 kB / 0.7328 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1891, allocations: 8 kB / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1893, allocations: 79.92 kB / 0.7329 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.1893, allocations: 47.83 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.1894, allocations: 63.55 kB / 0.733 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1898, allocations: 207.5 kB / 0.7332 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1898, allocations: 0 / 0.7332 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1898, allocations: 0 / 0.7332 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.1898, allocations: 0 / 0.7332 GB, free: 13.08 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007144/0.1905, allocations: 426.9 kB / 0.7336 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1905, allocations: 12.03 kB / 0.7336 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.117e-05/0.1905, allocations: 192 / 0.7336 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1906, allocations: 34.75 kB / 0.7336 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.1906, allocations: 16.84 kB / 0.7337 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.191, allocations: 206 kB / 0.7339 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.191, allocations: 8.125 kB / 0.7339 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.191, allocations: 8 kB / 0.7339 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1913, allocations: 100.2 kB / 0.734 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1913, allocations: 0 / 0.734 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1913, allocations: 0 / 0.734 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1913, allocations: 0 / 0.734 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1914, allocations: 35.98 kB / 0.734 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.1919, allocations: 331.7 kB / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.1921, allocations: 94.59 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.1922, allocations: 28.84 kB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1922, allocations: 4 kB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.1924, allocations: 75.38 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.804e-06/0.1924, allocations: 96 / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003717/0.1928, allocations: 149.5 kB / 0.7347 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.1929, allocations: 106.8 kB / 0.7348 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1932, allocations: 279 kB / 0.735 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1932, allocations: 29.7 kB / 0.735 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1933, allocations: 120.1 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1933, allocations: 19.86 kB / 0.7352 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.1934, allocations: 29.7 kB / 0.7352 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1936, allocations: 322.8 kB / 0.7355 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.1936, allocations: 31.98 kB / 0.7355 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1937, allocations: 72.2 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1939, allocations: 65.7 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1939, allocations: 0 / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002484/0.1941, allocations: 121.5 kB / 0.7358 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1942, allocations: 4 kB / 0.7358 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1942, allocations: 0 / 0.7358 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1942, allocations: 4 kB / 0.7358 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.1943, allocations: 11.98 kB / 0.7358 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1943, allocations: 11.88 kB / 0.7358 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.1944, allocations: 7.938 kB / 0.7358 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1944, allocations: 4 kB / 0.7358 GB, free: 10.12 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001541/0.1945, allocations: 146.7 kB / 0.736 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1946, allocations: 27.89 kB / 0.736 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.1948, allocations: 119.4 kB / 0.7361 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.1948, allocations: 4 kB / 0.7361 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1949, allocations: 3.938 kB / 0.7361 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1949, allocations: 3.984 kB / 0.7361 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1951, allocations: 192.7 kB / 0.7363 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1951, allocations: 0 / 0.7363 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.1951, allocations: 8 kB / 0.7363 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1951, allocations: 0 / 0.7363 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1951, allocations: 7.984 kB / 0.7363 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1951, allocations: 192 / 0.7363 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1951, allocations: 3.938 kB / 0.7363 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1954, allocations: 144.9 kB / 0.7365 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.1954, allocations: 23.91 kB / 0.7365 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1954, allocations: 3.984 kB / 0.7365 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.1955, allocations: 4 kB / 0.7365 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.1955, allocations: 15.92 kB / 0.7365 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1956, allocations: 4 kB / 0.7365 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001984/0.1958, allocations: 208.5 kB / 0.7367 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1958, allocations: 0 / 0.7367 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002562/0.196, allocations: 39.88 kB / 0.7368 GB, free: 9.102 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002071/0.1981, allocations: 1.001 MB / 0.7377 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1983, allocations: 63.95 kB / 0.7378 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1983, allocations: 4 kB / 0.7378 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.1984, allocations: 35.91 kB / 0.7378 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1988, allocations: 44.58 kB / 0.7379 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2013, allocations: 1.977 MB / 0.7398 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.2017, allocations: 0.7241 MB / 0.7405 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.745e-05/0.2018, allocations: 25.38 kB / 0.7405 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.2019, allocations: 47.42 kB / 0.7406 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2019, allocations: 4 kB / 0.7406 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.2281, allocations: 5.002 MB / 0.7455 GB, free: 336 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.55, allocations: 14.12 kB / 0.7455 GB, free: 328 kB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.504705475992523] Failed to read output from testmodel.py, exit status != 0: 11.780004077998456 11.808236243 11.613039812 Calling exit ...