Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 288.2 MB / 303.2 MB, free: 8.258 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.001235/0.001235, allocations: 183.5 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.001309/0.001309, allocations: 94.84 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004651, allocations: 16.38 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2887, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8108/1.1, allocations: 142 MB / 1.118 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/1.1, allocations: 75.52 kB / 1.118 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01394/1.114, allocations: 5.402 MB / 1.123 GB, free: 31.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.114, allocations: 0 / 1.123 GB, free: 31.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.114, allocations: 11.39 kB / 1.124 GB, free: 31.75 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.0005952/1.115, allocations: 0.4946 MB / 1.124 GB, free: 31.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.115, allocations: 11.7 kB / 1.124 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/1.115, allocations: 33.38 kB / 1.124 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/1.115, allocations: 15.5 kB / 1.124 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/1.115, allocations: 262.5 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.115, allocations: 0 / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/1.115, allocations: 10.23 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/1.115, allocations: 100.9 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/1.115, allocations: 0 / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.115, allocations: 0 / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/1.115, allocations: 6.766 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/1.116, allocations: 35.53 kB / 1.124 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/1.116, allocations: 382 kB / 1.125 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/1.116, allocations: 101 kB / 1.125 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/1.116, allocations: 3.906 kB / 1.125 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/1.116, allocations: 85.48 kB / 1.125 GB, free: 30.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/1.116, allocations: 0 / 1.125 GB, free: 30.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0003613/1.117, allocations: 218.3 kB / 1.125 GB, free: 30.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.117, allocations: 106.7 kB / 1.125 GB, free: 30.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/1.117, allocations: 249.4 kB / 1.126 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/1.117, allocations: 29.61 kB / 1.126 GB, free: 30.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/1.117, allocations: 119.5 kB / 1.126 GB, free: 30.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/1.117, allocations: 18.08 kB / 1.126 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/1.117, allocations: 3.375 kB / 1.126 GB, free: 30.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.117, allocations: 331.2 kB / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/1.117, allocations: 25 kB / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-05/1.118, allocations: 78.36 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/1.118, allocations: 28.25 kB / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.118, allocations: 0 / 1.126 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/1.118, allocations: 123.9 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.118, allocations: 8.406 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.118, allocations: 0 / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.118, allocations: 0 / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/1.118, allocations: 18.34 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/1.118, allocations: 3.938 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/1.118, allocations: 15.36 kB / 1.126 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/1.118, allocations: 0 / 1.126 GB, free: 29.68 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.0001191/1.118, allocations: 147.1 kB / 1.126 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/1.118, allocations: 15.72 kB / 1.126 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/1.119, allocations: 129.2 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.119, allocations: 6.766 kB / 1.127 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.119, allocations: 3.938 kB / 1.127 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.119, allocations: 0 / 1.127 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/1.119, allocations: 243.5 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.119, allocations: 3.906 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/1.119, allocations: 3.812 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.119, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.119, allocations: 6.891 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.119, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/1.119, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/1.119, allocations: 155.8 kB / 1.127 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/1.119, allocations: 99.09 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/1.119, allocations: 3.875 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/1.119, allocations: 7.281 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/1.119, allocations: 6.828 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.119, allocations: 3 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001548/1.119, allocations: 198.5 kB / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.119, allocations: 0 / 1.127 GB, free: 29.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002963/1.12, allocations: 59.64 kB / 1.127 GB, free: 29.02 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.00128/1.121, allocations: 1.017 MB / 1.128 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002203/1.121, allocations: 89.41 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.121, allocations: 4.062 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/1.121, allocations: 39.58 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/1.122, allocations: 27.94 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/1.123, allocations: 1.131 MB / 1.13 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/1.123, allocations: 0.7316 MB / 1.13 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.778e-05/1.123, allocations: 28.28 kB / 1.13 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/1.123, allocations: 51.22 kB / 1.13 GB, free: 26.99 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.123, allocations: 3.938 kB / 1.13 GB, free: 26.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/1.138, allocations: 4.272 MB / 1.135 GB, free: 25.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.138, allocations: 229.1 kB / 1.135 GB, free: 25.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.865, allocations: 0 / 1.135 GB, free: 25.3 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)