Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.626/2.626, allocations: 287.3 MB / 302.3 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 172.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 105 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007302/0.0007304, allocations: 18.08 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2326, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.287, allocations: 141.8 MB / 1.117 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/1.287, allocations: 83.41 kB / 1.117 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03031/1.317, allocations: 5.398 MB / 1.122 GB, free: 30.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/1.318, allocations: 0 / 1.122 GB, free: 30.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.418e-05/1.318, allocations: 8 kB / 1.122 GB, free: 30.78 MB / 0.698 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.0009321/1.319, allocations: 0.4949 MB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.319, allocations: 11.64 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/1.319, allocations: 34.44 kB / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/1.319, allocations: 15.47 kB / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/1.319, allocations: 255 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/1.319, allocations: 7.812 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/1.319, allocations: 11.72 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/1.32, allocations: 105.4 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.32, allocations: 0 / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/1.32, allocations: 0 / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.32, allocations: 3.984 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/1.32, allocations: 40.88 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/1.321, allocations: 379 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/1.321, allocations: 91.91 kB / 1.124 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.321, allocations: 3.938 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/1.321, allocations: 83 kB / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.627e-06/1.321, allocations: 0 / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005923/1.322, allocations: 224.8 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/1.322, allocations: 110.7 kB / 1.124 GB, free: 29.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/1.322, allocations: 240.2 kB / 1.124 GB, free: 29.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/1.323, allocations: 33.45 kB / 1.124 GB, free: 29.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.323, allocations: 121 kB / 1.124 GB, free: 29.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/1.323, allocations: 15.62 kB / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/1.323, allocations: 0 / 1.124 GB, free: 29.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.323, allocations: 328.4 kB / 1.125 GB, free: 28.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/1.323, allocations: 30.47 kB / 1.125 GB, free: 28.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/1.323, allocations: 75.7 kB / 1.125 GB, free: 28.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/1.323, allocations: 33.41 kB / 1.125 GB, free: 28.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.323, allocations: 0 / 1.125 GB, free: 28.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004102/1.324, allocations: 115.8 kB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.324, allocations: 7.906 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.324, allocations: 0 / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.324, allocations: 3.969 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.324, allocations: 10.52 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/1.324, allocations: 11.73 kB / 1.125 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/1.324, allocations: 6.984 kB / 1.125 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/1.324, allocations: 3.875 kB / 1.125 GB, free: 28.71 MB / 0.698 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002714/1.324, allocations: 141.5 kB / 1.125 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/1.325, allocations: 19.5 kB / 1.125 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/1.325, allocations: 135.3 kB / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/1.325, allocations: 2.906 kB / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.325, allocations: 0 / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.325, allocations: 3.953 kB / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/1.325, allocations: 243.8 kB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.325, allocations: 0 / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/1.325, allocations: 3.844 kB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/1.325, allocations: 0 / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/1.325, allocations: 6.75 kB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.326, allocations: 4 kB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.326, allocations: 0 / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/1.326, allocations: 152.8 kB / 1.126 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.326, allocations: 102.9 kB / 1.126 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/1.326, allocations: 3.625 kB / 1.126 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/1.326, allocations: 6.719 kB / 1.126 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/1.326, allocations: 10.42 kB / 1.126 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/1.326, allocations: 6.953 kB / 1.126 GB, free: 28.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002677/1.327, allocations: 197.8 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.327, allocations: 0 / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004202/1.327, allocations: 53.59 kB / 1.126 GB, free: 28.06 MB / 0.698 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/1.329, allocations: 1.023 MB / 1.127 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004414/1.329, allocations: 87.02 kB / 1.127 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.329, allocations: 0 / 1.127 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/1.33, allocations: 33.69 kB / 1.127 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/1.33, allocations: 45.5 kB / 1.127 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/1.332, allocations: 1.132 MB / 1.128 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/1.333, allocations: 0.7283 MB / 1.129 GB, free: 26.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001584/1.333, allocations: 20.09 kB / 1.129 GB, free: 26.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.333, allocations: 59.7 kB / 1.129 GB, free: 26.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.333, allocations: 0 / 1.129 GB, free: 26.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/1.362, allocations: 4.261 MB / 1.133 GB, free: 25.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/1.362, allocations: 225.3 kB / 1.133 GB, free: 25.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.974, allocations: 7.938 kB / 1.133 GB, free: 25.2 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)