Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002044/0.002044, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001747/0.001747, allocations: 223 kB / 23.03 MB, free: 4.945 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.897/2.897, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_11_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.002084/0.002084, allocations: 67.2 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004182/0.3945, allocations: 1.78 MB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3969, allocations: 1.194 MB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.397, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.3974, allocations: 55.67 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.3978, allocations: 123.5 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.3986, allocations: 195.4 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.3989, allocations: 159.6 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.399, allocations: 25.5 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3992, allocations: 63.77 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3993, allocations: 75.67 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.3994, allocations: 8 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.3996, allocations: 87.86 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3997, allocations: 39.91 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.3998, allocations: 43.62 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.4002, allocations: 208.6 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4002, allocations: 0 / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4002, allocations: 4 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.4002, allocations: 0 / 1.288 GB, free: 6.633 MB / 0.9825 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.000853/0.4011, allocations: 426.9 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4011, allocations: 12.03 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.67e-05/0.4011, allocations: 4.188 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.4012, allocations: 42.69 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.4013, allocations: 16.84 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.4017, allocations: 206 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.4017, allocations: 4.125 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.4017, allocations: 8 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.402, allocations: 151.6 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.402, allocations: 4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.402, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4021, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.4022, allocations: 39.97 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.4028, allocations: 319.8 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.4031, allocations: 82.66 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.4032, allocations: 32.84 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4032, allocations: 4 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.4034, allocations: 87.44 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.4034, allocations: 3.938 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004142/0.4038, allocations: 145.5 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.4039, allocations: 102.8 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.4042, allocations: 283 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.4043, allocations: 25.7 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.4043, allocations: 120.1 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4044, allocations: 23.83 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.4044, allocations: 21.72 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4046, allocations: 338.8 kB / 1.29 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.4047, allocations: 23.98 kB / 1.29 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.4048, allocations: 157.3 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.405, allocations: 69.7 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.405, allocations: 4 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002507/0.4052, allocations: 121.5 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4053, allocations: 4 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4053, allocations: 0 / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4053, allocations: 7.969 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.4054, allocations: 12 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4054, allocations: 3.938 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.4055, allocations: 11.92 kB / 1.291 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4055, allocations: 4 kB / 1.291 GB, free: 3.492 MB / 0.9825 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.0001472/0.4056, allocations: 145.8 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.4057, allocations: 15.91 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.406, allocations: 131 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.406, allocations: 4.031 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.406, allocations: 11.94 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.406, allocations: 4 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4062, allocations: 188.6 kB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4062, allocations: 0 / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.4063, allocations: 7.984 kB / 1.291 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4063, allocations: 0 / 1.291 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4063, allocations: 4 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4063, allocations: 0 / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4063, allocations: 3.938 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.4066, allocations: 153.1 kB / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.4066, allocations: 27.89 kB / 1.291 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.4067, allocations: 0 / 1.291 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.4067, allocations: 4 kB / 1.291 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.4068, allocations: 15.92 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.4068, allocations: 0 / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002128/0.407, allocations: 204.6 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.407, allocations: 0 / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002639/0.4073, allocations: 39.89 kB / 1.292 GB, free: 2.473 MB / 0.9825 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.002222/0.4095, allocations: 1.037 MB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.4097, allocations: 71.91 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4097, allocations: 4 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.4098, allocations: 31.98 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4101, allocations: 43.95 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4126, allocations: 1.995 MB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.4128, allocations: 118.7 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.188e-05/0.4128, allocations: 21.08 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.4129, allocations: 47.42 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.4129, allocations: 0 / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4418, allocations: 5.246 MB / 1.3 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.15, allocations: 4 kB / 1.3 GB, free: 10.02 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.4701768909581] Failed to read output from testmodel.py, exit status != 0: 13.091899432940409 12.401032167 11.997476645 Calling exit ...