Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001333/0.001333, allocations: 116.1 kB / 17.17 MB, free: 6 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.001465/0.001465, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.105/3.105, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00203/0.00203, allocations: 67.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003212/1.142, allocations: 1.809 MB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002007/1.144, allocations: 1.281 MB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/1.144, allocations: 1.281 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003614/1.144, allocations: 57.95 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/1.145, allocations: 123.2 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/1.145, allocations: 182.6 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/1.145, allocations: 162.3 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/1.145, allocations: 15.53 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/1.146, allocations: 73.78 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/1.146, allocations: 68.81 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/1.146, allocations: 6.469 kB / 1.344 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/1.146, allocations: 83 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/1.146, allocations: 41.12 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/1.146, allocations: 56.03 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/1.146, allocations: 206.5 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.146, allocations: 2.031 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/1.146, allocations: 4 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.146, allocations: 0 / 1.344 GB, free: 13.64 MB / 1.061 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.0006199/1.147, allocations: 0.5012 MB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.147, allocations: 9.625 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/1.147, allocations: 1.562 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/1.147, allocations: 37.48 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/1.147, allocations: 21.8 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/1.147, allocations: 251.4 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.147, allocations: 9.484 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/1.147, allocations: 8.781 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/1.148, allocations: 92.95 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.148, allocations: 0 / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.148, allocations: 1.375 kB / 1.345 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/1.148, allocations: 6.078 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/1.148, allocations: 39.58 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/1.148, allocations: 357.3 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/1.149, allocations: 81.67 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/1.149, allocations: 34.39 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/1.149, allocations: 0.5156 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/1.149, allocations: 83.44 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/1.149, allocations: 3.938 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004183/1.149, allocations: 143 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/1.149, allocations: 109 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/1.15, allocations: 279.9 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.15, allocations: 27.77 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/1.15, allocations: 121.3 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/1.15, allocations: 24.48 kB / 1.346 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/1.15, allocations: 29.81 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/1.15, allocations: 329 kB / 1.347 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/1.15, allocations: 22.72 kB / 1.347 GB, free: 11.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/1.15, allocations: 70.91 kB / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/1.15, allocations: 83.42 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.15, allocations: 0 / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002327/1.151, allocations: 110.7 kB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.151, allocations: 4.344 kB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.151, allocations: 1.312 kB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.151, allocations: 2.203 kB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.151, allocations: 16.38 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/1.151, allocations: 3.938 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/1.151, allocations: 16.47 kB / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/1.151, allocations: 4.125 kB / 1.347 GB, free: 11.28 MB / 1.061 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.0001244/1.151, allocations: 140.9 kB / 1.347 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/1.151, allocations: 20.33 kB / 1.347 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/1.151, allocations: 19.42 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.151, allocations: 3.062 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/1.151, allocations: 4.734 kB / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.151, allocations: 0 / 1.347 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/1.151, allocations: 226 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.151, allocations: 4.609 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/1.151, allocations: 6.469 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.151, allocations: 0 / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/1.151, allocations: 2.078 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.151, allocations: 6.172 kB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.151, allocations: 3.938 kB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/1.152, allocations: 138.7 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/1.152, allocations: 103.8 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/1.152, allocations: 6.812 kB / 1.348 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/1.152, allocations: 4.172 kB / 1.348 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/1.152, allocations: 18.64 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/1.152, allocations: 3.438 kB / 1.348 GB, free: 10.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002061/1.152, allocations: 202.1 kB / 1.348 GB, free: 10.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.152, allocations: 0 / 1.348 GB, free: 10.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002923/1.152, allocations: 32.38 kB / 1.348 GB, free: 10.57 MB / 1.061 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * 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.001933/1.154, allocations: 1.004 MB / 1.349 GB, free: 9.828 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002413/1.154, allocations: 63.36 kB / 1.349 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.154, allocations: 1.344 kB / 1.349 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/1.155, allocations: 35.66 kB / 1.349 GB, free: 9.801 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/1.155, allocations: 42.42 kB / 1.349 GB, free: 9.785 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/1.157, allocations: 1.997 MB / 1.351 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/1.158, allocations: 0.7222 MB / 1.352 GB, free: 7.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001057/1.158, allocations: 24.69 kB / 1.352 GB, free: 7.652 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/1.158, allocations: 50.69 kB / 1.352 GB, free: 7.621 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/1.158, allocations: 5.344 kB / 1.352 GB, free: 7.617 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/1.184, allocations: 4.864 MB / 1.357 GB, free: 6.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/9.747, allocations: 9.625 kB / 1.357 GB, free: 6.73 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.6466190990177] Failed to read output from testmodel.py, exit status != 0: 9.929226665000897 9.94954109 8.799318419 Calling exit ...