Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001405/0.001405, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001528/0.001528, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002564/0.002564, allocations: 300.1 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.287/1.287, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002973/0.002973, allocations: 95.44 kB / 0.7395 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1971, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003554/0.2006, allocations: 1.786 MB / 0.8344 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.2028, allocations: 1.189 MB / 0.8356 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.2029, allocations: 0 / 0.8356 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.2032, allocations: 63.67 kB / 0.8356 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.2035, allocations: 119.5 kB / 0.8357 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.2041, allocations: 200.6 kB / 0.8359 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.2043, allocations: 167.5 kB / 0.8361 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2044, allocations: 9.641 kB / 0.8361 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2045, allocations: 71.69 kB / 0.8362 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.2046, allocations: 67.75 kB / 0.8362 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2047, allocations: 4 kB / 0.8362 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.2048, allocations: 83.86 kB / 0.8363 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.2049, allocations: 47.84 kB / 0.8363 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.205, allocations: 43.67 kB / 0.8364 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2053, allocations: 215.4 kB / 0.8366 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2053, allocations: 0 / 0.8366 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2053, allocations: 0 / 0.8366 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2053, allocations: 0 / 0.8366 GB, free: 4.262 MB / 0.5762 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.0006796/0.206, allocations: 430.9 kB / 0.837 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.206, allocations: 13.34 kB / 0.837 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.2061, allocations: 34.73 kB / 0.8371 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.2061, allocations: 16.84 kB / 0.8371 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.2065, allocations: 198.1 kB / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2065, allocations: 16.23 kB / 0.8373 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.2065, allocations: 11.94 kB / 0.8373 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2067, allocations: 113 kB / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2068, allocations: 0 / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2068, allocations: 0 / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2068, allocations: 0 / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.2069, allocations: 43.91 kB / 0.8374 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.2075, allocations: 307.9 kB / 0.8377 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.2077, allocations: 94.69 kB / 0.8378 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.2078, allocations: 32.84 kB / 0.8378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.2078, allocations: 0 / 0.8378 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.208, allocations: 83.36 kB / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.208, allocations: 0 / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003647/0.2084, allocations: 141.5 kB / 0.8381 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.2085, allocations: 89.05 kB / 0.8381 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.2088, allocations: 279.1 kB / 0.8384 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2088, allocations: 25.7 kB / 0.8384 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.2089, allocations: 120.1 kB / 0.8386 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.2089, allocations: 27.78 kB / 0.8386 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.209, allocations: 25.7 kB / 0.8386 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2091, allocations: 334.8 kB / 0.8389 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.2092, allocations: 23.98 kB / 0.8389 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2093, allocations: 118.8 kB / 0.8391 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.2095, allocations: 69.64 kB / 0.8391 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2095, allocations: 0 / 0.8391 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.2097, allocations: 113.6 kB / 0.8392 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2097, allocations: 8.062 kB / 0.8392 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2097, allocations: 4 kB / 0.8392 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2097, allocations: 0 / 0.8392 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.2098, allocations: 11.94 kB / 0.8393 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2098, allocations: 4 kB / 0.8393 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.2099, allocations: 15.88 kB / 0.8393 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2099, allocations: 7.938 kB / 0.8393 GB, free: 1.254 MB / 0.5762 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.0001412/0.21, allocations: 143.2 kB / 0.8394 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.2101, allocations: 15.91 kB / 0.8394 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.2104, allocations: 135.1 kB / 0.8396 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2104, allocations: 0 / 0.8396 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2104, allocations: 4 kB / 0.8396 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2104, allocations: 3.938 kB / 0.8396 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.2106, allocations: 196.6 kB / 0.8398 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2106, allocations: 0 / 0.8398 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.2106, allocations: 7.984 kB / 0.8398 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2106, allocations: 0 / 0.8398 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2106, allocations: 4 kB / 0.8398 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2106, allocations: 0 / 0.8398 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2106, allocations: 4 kB / 0.8398 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.2109, allocations: 157.3 kB / 0.8399 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.211, allocations: 19.89 kB / 0.8399 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.211, allocations: 7.984 kB / 0.84 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.2111, allocations: 4 kB / 0.84 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.2111, allocations: 11.92 kB / 0.84 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.2111, allocations: 4 kB / 0.84 GB, free: 484 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002052/0.2113, allocations: 199.2 kB / 0.8402 GB, free: 284 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2113, allocations: 0 / 0.8402 GB, free: 284 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002597/0.2116, allocations: 39.92 kB / 0.8402 GB, free: 244 kB / 0.5762 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 (8): * Single equations (assignments): 5 * 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.002178/0.2138, allocations: 1.045 MB / 0.8412 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.214, allocations: 71.89 kB / 0.8413 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.214, allocations: 0 / 0.8413 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2141, allocations: 35.92 kB / 0.8413 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.2144, allocations: 53.98 kB / 0.8414 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.2173, allocations: 1.991 MB / 0.8433 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.2174, allocations: 110.6 kB / 0.8434 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.909e-05/0.2175, allocations: 25.72 kB / 0.8434 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2176, allocations: 47.42 kB / 0.8435 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of SimCode: time 9.51e-07/0.2176, allocations: 0 / 0.8435 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.2567, allocations: 5.507 MB / 0.8489 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.61, allocations: 3.656 kB / 0.8489 GB, free: 7.5 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.217820290010422] Failed to read output from testmodel.py, exit status != 0: 11.768424533307552 11.78468408 11.57613403 Calling exit ...