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.001606/0.001606, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001628/0.001628, allocations: 217.4 kB / 23.04 MB, free: 5.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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002441/0.002441, allocations: 277.4 kB / 313.5 MB, free: 2.805 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.239/1.239, allocations: 180.6 MB / 0.5377 GB, free: 13.01 MB / 382.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",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.002741/0.002741, allocations: 100.1 kB / 0.7404 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2066, allocations: 95.38 MB / 0.8335 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.004148/0.2107, allocations: 1.814 MB / 0.8353 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.2133, allocations: 1.275 MB / 0.8365 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2135, allocations: 3.938 kB / 0.8365 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.2138, allocations: 59.73 kB / 0.8366 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.2142, allocations: 131.4 kB / 0.8367 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.2149, allocations: 202.8 kB / 0.8369 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.2152, allocations: 155.6 kB / 0.837 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2153, allocations: 21.55 kB / 0.8371 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2155, allocations: 63.78 kB / 0.8371 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.2156, allocations: 79.61 kB / 0.8372 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.2156, allocations: 8 kB / 0.8372 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.2158, allocations: 79.92 kB / 0.8373 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.2159, allocations: 39.89 kB / 0.8373 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.216, allocations: 63.5 kB / 0.8374 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.2164, allocations: 207.5 kB / 0.8376 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2164, allocations: 4 kB / 0.8376 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2164, allocations: 0 / 0.8376 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2164, allocations: 0 / 0.8376 GB, free: 4.441 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.0008917/0.2173, allocations: 430.9 kB / 0.838 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.2174, allocations: 9.344 kB / 0.838 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.3e-05/0.2174, allocations: 4.188 kB / 0.838 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.2175, allocations: 38.69 kB / 0.8381 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.2175, allocations: 16.84 kB / 0.8381 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.218, allocations: 202.1 kB / 0.8383 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.218, allocations: 12.12 kB / 0.8383 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.218, allocations: 4 kB / 0.8383 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.2183, allocations: 96.16 kB / 0.8384 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2183, allocations: 0 / 0.8384 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2183, allocations: 4 kB / 0.8384 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2184, allocations: 7.938 kB / 0.8384 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.2185, allocations: 35.97 kB / 0.8384 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.2191, allocations: 331.8 kB / 0.8387 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.2194, allocations: 82.66 kB / 0.8388 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.2195, allocations: 28.84 kB / 0.8388 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2195, allocations: 0 / 0.8388 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.2197, allocations: 91.36 kB / 0.8389 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.2197, allocations: 0 / 0.8389 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.2201, allocations: 141.8 kB / 0.8391 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/0.2202, allocations: 102.8 kB / 0.8392 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.2205, allocations: 283 kB / 0.8394 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2206, allocations: 25.7 kB / 0.8394 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2207, allocations: 128.1 kB / 0.8396 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.2207, allocations: 19.83 kB / 0.8396 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.2208, allocations: 25.72 kB / 0.8396 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2209, allocations: 334.8 kB / 0.8399 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.221, allocations: 23.98 kB / 0.84 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2211, allocations: 72.22 kB / 0.84 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2213, allocations: 69.69 kB / 0.8401 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2213, allocations: 0 / 0.8401 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002397/0.2215, allocations: 113.5 kB / 0.8402 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2216, allocations: 8 kB / 0.8402 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2216, allocations: 0 / 0.8402 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2216, allocations: 0 / 0.8402 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2217, allocations: 19.98 kB / 0.8402 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2217, allocations: 3.938 kB / 0.8402 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.2218, allocations: 15.92 kB / 0.8402 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2218, allocations: 0 / 0.8402 GB, free: 1.473 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.0001601/0.2219, allocations: 147.1 kB / 0.8404 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.222, allocations: 15.91 kB / 0.8404 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.2223, allocations: 119 kB / 0.8405 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.2223, allocations: 4 kB / 0.8405 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2223, allocations: 7.875 kB / 0.8405 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2223, allocations: 0 / 0.8405 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.2225, allocations: 204.6 kB / 0.8407 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2225, allocations: 0 / 0.8407 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.2226, allocations: 8 kB / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2226, allocations: 0 / 0.8407 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2226, allocations: 4 kB / 0.8407 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2226, allocations: 0 / 0.8407 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.2226, allocations: 7.875 kB / 0.8407 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2229, allocations: 145 kB / 0.8409 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.2229, allocations: 19.89 kB / 0.8409 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.223, allocations: 7.984 kB / 0.8409 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.223, allocations: 0 / 0.8409 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.2231, allocations: 15.92 kB / 0.8409 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2231, allocations: 4 kB / 0.8409 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002304/0.2233, allocations: 199.2 kB / 0.8411 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2233, allocations: 0 / 0.8411 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002734/0.2236, allocations: 36.12 kB / 0.8411 GB, free: 480 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 (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.002236/0.2258, allocations: 0.9967 MB / 0.8421 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2261, allocations: 67.95 kB / 0.8422 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2261, allocations: 0 / 0.8422 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.2262, allocations: 43.89 kB / 0.8422 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2265, allocations: 47.64 kB / 0.8423 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.2292, allocations: 1.979 MB / 0.8442 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2296, allocations: 0.7241 MB / 0.8449 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.431e-05/0.2297, allocations: 29.38 kB / 0.8449 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2298, allocations: 47.42 kB / 0.845 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of SimCode: time 1.513e-06/0.2298, allocations: 3.938 kB / 0.845 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.2573, allocations: 5.006 MB / 0.8499 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.42, allocations: 11.5 kB / 0.8499 GB, free: 7.645 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.897666328004561] Failed to read output from testmodel.py, exit status != 0: 11.640721183037385 11.667206246 11.446150268 Calling exit ...