Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001307/0.001307, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001379/0.001379, allocations: 212 kB / 20.13 MB, free: 2.949 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.611/1.611, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.076/3.076, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_12_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.002154/0.002154, allocations: 67.89 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00287/1.104, allocations: 1.805 MB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001776/1.106, allocations: 1.274 MB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/1.106, allocations: 7.938 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/1.107, allocations: 53.06 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003608/1.107, allocations: 125.3 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/1.107, allocations: 190.7 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/1.108, allocations: 157.8 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/1.108, allocations: 19.12 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.251e-05/1.108, allocations: 66.61 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/1.108, allocations: 78.06 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/1.108, allocations: 5.781 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/1.108, allocations: 76.34 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/1.108, allocations: 48.92 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/1.108, allocations: 55.23 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002899/1.109, allocations: 210.2 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.109, allocations: 0 / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/1.109, allocations: 0 / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.109, allocations: 4 kB / 1.326 GB, free: 22.12 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.0005984/1.109, allocations: 0.4969 MB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/1.109, allocations: 12.45 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.669e-05/1.109, allocations: 7.062 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.177e-05/1.109, allocations: 30.75 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/1.109, allocations: 17.81 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/1.11, allocations: 255.6 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.11, allocations: 14.84 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/1.11, allocations: 2.719 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/1.11, allocations: 93.73 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.11, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.11, allocations: 4 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/1.11, allocations: 5.766 kB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/1.11, allocations: 32.38 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/1.11, allocations: 365.9 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/1.111, allocations: 82.23 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/1.111, allocations: 30.11 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/1.111, allocations: 2.812 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/1.111, allocations: 88.88 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/1.111, allocations: 0 / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003432/1.111, allocations: 141.5 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.111, allocations: 102.8 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/1.112, allocations: 283.8 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/1.112, allocations: 27.42 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/1.112, allocations: 120.2 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/1.112, allocations: 22.59 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/1.112, allocations: 33.38 kB / 1.328 GB, free: 20.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/1.112, allocations: 331.7 kB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/1.112, allocations: 29.28 kB / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/1.112, allocations: 68.44 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/1.112, allocations: 71.81 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.112, allocations: 0 / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/1.112, allocations: 114.5 kB / 1.328 GB, free: 19.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.112, allocations: 5.719 kB / 1.328 GB, free: 19.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.112, allocations: 0.5938 kB / 1.328 GB, free: 19.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.112, allocations: 0.625 kB / 1.328 GB, free: 19.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/1.112, allocations: 18.59 kB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.112, allocations: 4.469 kB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/1.113, allocations: 3.344 kB / 1.328 GB, free: 19.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/1.113, allocations: 6.906 kB / 1.328 GB, free: 19.77 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.0001028/1.113, allocations: 147.7 kB / 1.328 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/1.113, allocations: 23.08 kB / 1.328 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/1.113, allocations: 16.75 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.113, allocations: 5.031 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.113, allocations: 4.812 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.113, allocations: 0 / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/1.113, allocations: 219.2 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.113, allocations: 3.984 kB / 1.329 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/1.113, allocations: 12.48 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.113, allocations: 0.75 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1.113, allocations: 1.188 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.113, allocations: 1.281 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.113, allocations: 7.875 kB / 1.329 GB, free: 19.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/1.113, allocations: 149.6 kB / 1.329 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/1.113, allocations: 94.95 kB / 1.329 GB, free: 19.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/1.113, allocations: 2.031 kB / 1.329 GB, free: 19.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/1.113, allocations: 5.781 kB / 1.329 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/1.113, allocations: 15.53 kB / 1.329 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/1.113, allocations: 6.109 kB / 1.329 GB, free: 19.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001962/1.114, allocations: 199.9 kB / 1.329 GB, free: 19.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.114, allocations: 0 / 1.329 GB, free: 19.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002746/1.114, allocations: 36.92 kB / 1.329 GB, free: 19.04 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.001987/1.116, allocations: 0.9983 MB / 1.33 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002944/1.116, allocations: 72 kB / 1.33 GB, free: 18.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.116, allocations: 1 kB / 1.33 GB, free: 18.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/1.116, allocations: 37.92 kB / 1.33 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/1.117, allocations: 44 kB / 1.33 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/1.119, allocations: 1.981 MB / 1.332 GB, free: 16.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/1.119, allocations: 0.7246 MB / 1.333 GB, free: 16.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.479e-05/1.119, allocations: 30.95 kB / 1.333 GB, free: 16.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/1.119, allocations: 53.58 kB / 1.333 GB, free: 16.09 MB / 1.061 GB Notification: Performance of SimCode: time 5.82e-07/1.119, allocations: 0 / 1.333 GB, free: 16.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/1.144, allocations: 4.853 MB / 1.338 GB, free: 15.21 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/9.602, allocations: 11.33 kB / 1.338 GB, free: 15.21 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.583965773985256] Failed to read output from testmodel.py, exit status != 0: 9.785244499042165 9.798031633999999 8.686963941 Calling exit ...