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.001384/0.001384, allocations: 119 kB / 19.69 MB, free: 2.199 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.001699/0.001699, allocations: 224.3 kB / 23.01 MB, free: 5.047 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9845/0.9845, allocations: 150 MB / 463.2 MB, free: 10.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",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.002434/0.002434, allocations: 67.62 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1814, allocations: 89.18 MB / 0.7284 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00385/0.1852, allocations: 1.816 MB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1878, allocations: 1.278 MB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.188, allocations: 3.938 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.1883, allocations: 59.73 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.1887, allocations: 119.5 kB / 0.7316 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.1893, allocations: 199 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1896, allocations: 155.6 kB / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1897, allocations: 17.62 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1899, allocations: 71.7 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.19, allocations: 67.69 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1901, allocations: 8 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1903, allocations: 87.92 kB / 0.7321 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.1904, allocations: 43.83 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.1904, allocations: 63.48 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.1908, allocations: 211.5 kB / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1908, allocations: 0 / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1908, allocations: 0 / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.1908, allocations: 0 / 0.7324 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.0007619/0.1916, allocations: 422.9 kB / 0.7328 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1916, allocations: 12.03 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.1917, allocations: 38.73 kB / 0.7329 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.1917, allocations: 28.72 kB / 0.7329 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1921, allocations: 194.2 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1921, allocations: 4.375 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1921, allocations: 7.938 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1924, allocations: 96.17 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1924, allocations: 0 / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1924, allocations: 0 / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1924, allocations: 4 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1925, allocations: 35.97 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.1931, allocations: 327.7 kB / 0.7336 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1933, allocations: 82.66 kB / 0.7336 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.1934, allocations: 32.84 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1934, allocations: 4 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1936, allocations: 79.47 kB / 0.7337 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.1936, allocations: 3.938 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003804/0.194, allocations: 141.5 kB / 0.7339 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.1941, allocations: 106.8 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1944, allocations: 279 kB / 0.7343 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1944, allocations: 37.7 kB / 0.7343 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.1945, allocations: 116.1 kB / 0.7344 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1945, allocations: 19.86 kB / 0.7344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.1946, allocations: 25.7 kB / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1948, allocations: 326.8 kB / 0.7348 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.1948, allocations: 27.98 kB / 0.7348 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.195, allocations: 80.14 kB / 0.7349 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1951, allocations: 65.7 kB / 0.7349 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1951, allocations: 0 / 0.7349 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002631/0.1954, allocations: 117.5 kB / 0.735 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1954, allocations: 7.984 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1954, allocations: 4.328 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1954, allocations: 4 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.1955, allocations: 12.03 kB / 0.7351 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1955, allocations: 0 / 0.7351 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.1956, allocations: 15.86 kB / 0.7351 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1956, allocations: 4 kB / 0.7351 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.0001481/0.1957, allocations: 150.7 kB / 0.7352 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1958, allocations: 19.86 kB / 0.7352 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.1961, allocations: 123 kB / 0.7354 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1961, allocations: 0 / 0.7354 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1961, allocations: 8 kB / 0.7354 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1961, allocations: 3.938 kB / 0.7354 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1963, allocations: 192.7 kB / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.1963, allocations: 3.984 kB / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.1963, allocations: 11.98 kB / 0.7356 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1963, allocations: 0 / 0.7356 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1964, allocations: 4 kB / 0.7356 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1964, allocations: 0 / 0.7356 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1964, allocations: 0 / 0.7356 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1966, allocations: 148.9 kB / 0.7357 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.1966, allocations: 15.91 kB / 0.7357 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1967, allocations: 7.984 kB / 0.7357 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.1967, allocations: 7.984 kB / 0.7357 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1968, allocations: 11.92 kB / 0.7358 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1968, allocations: 0 / 0.7358 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002028/0.197, allocations: 208.6 kB / 0.736 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.197, allocations: 0 / 0.736 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002654/0.1973, allocations: 39.88 kB / 0.736 GB, free: 9.113 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.002042/0.1993, allocations: 1.004 MB / 0.737 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1995, allocations: 59.97 kB / 0.737 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1995, allocations: 4.062 kB / 0.737 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.1996, allocations: 39.91 kB / 0.7371 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1999, allocations: 43.84 kB / 0.7371 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.2024, allocations: 1.97 MB / 0.739 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.2027, allocations: 0.728 MB / 0.7397 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.895e-05/0.2028, allocations: 21.06 kB / 0.7398 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2029, allocations: 51.41 kB / 0.7398 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2029, allocations: 3.938 kB / 0.7398 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.2372, allocations: 4.977 MB / 0.7447 GB, free: 364 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.34, allocations: 6.812 kB / 0.7447 GB, free: 360 kB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.197760096052662] Failed to read output from testmodel.py, exit status != 0: 11.497852796921507 11.514068782 11.319962097 Calling exit ...