Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001/0.001, allocations: 176.5 kB / 371.6 MB, free: 3.352 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.668/1.668, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000923/0.0009229, allocations: 89.34 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.115e-05/4.118e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.315, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.396, allocations: 142.9 MB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/1.397, allocations: 74.67 kB / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0138/1.411, allocations: 5.392 MB / 1.125 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.225e-06/1.411, allocations: 0 / 1.125 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.913e-05/1.411, allocations: 4 kB / 1.125 GB, free: 38.66 MB / 0.7448 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.0006073/1.411, allocations: 463.5 kB / 1.125 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.411, allocations: 8.031 kB / 1.125 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/1.411, allocations: 38.81 kB / 1.125 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/1.411, allocations: 21.53 kB / 1.125 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/1.412, allocations: 256.2 kB / 1.126 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/1.412, allocations: 3.266 kB / 1.126 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/1.412, allocations: 4 kB / 1.126 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/1.412, allocations: 97.02 kB / 1.126 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.412, allocations: 0 / 1.126 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.412, allocations: 4 kB / 1.126 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/1.412, allocations: 4 kB / 1.126 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/1.412, allocations: 34.53 kB / 1.126 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/1.413, allocations: 373.2 kB / 1.126 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/1.413, allocations: 89.59 kB / 1.126 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/1.413, allocations: 28.05 kB / 1.126 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/1.413, allocations: 7.938 kB / 1.126 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/1.413, allocations: 83.62 kB / 1.126 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.524e-06/1.413, allocations: 0 / 1.126 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002933/1.414, allocations: 111.9 kB / 1.126 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/1.414, allocations: 106.8 kB / 1.126 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/1.414, allocations: 241.7 kB / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.414, allocations: 25.78 kB / 1.127 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/1.414, allocations: 124.6 kB / 1.127 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/1.414, allocations: 22.8 kB / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/1.414, allocations: 0 / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.414, allocations: 334.2 kB / 1.127 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/1.414, allocations: 18.38 kB / 1.127 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/1.415, allocations: 79.78 kB / 1.127 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/1.415, allocations: 30.09 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.415, allocations: 0 / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/1.415, allocations: 112.8 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.415, allocations: 5.406 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.415, allocations: 4 kB / 1.127 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.415, allocations: 1.656 kB / 1.127 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.415, allocations: 19.45 kB / 1.127 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.415, allocations: 0 / 1.127 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/1.415, allocations: 15.42 kB / 1.127 GB, free: 36.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/1.415, allocations: 0 / 1.127 GB, free: 36.17 MB / 0.7448 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 () * 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.0001011/1.415, allocations: 125.8 kB / 1.128 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/1.415, allocations: 15.81 kB / 1.128 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/1.415, allocations: 129 kB / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/1.415, allocations: 0 / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.416, allocations: 1.125 kB / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.416, allocations: 0 / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/1.416, allocations: 239.4 kB / 1.128 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.416, allocations: 4.656 kB / 1.128 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/1.416, allocations: 8 kB / 1.128 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.416, allocations: 0 / 1.128 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/1.416, allocations: 0 / 1.128 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.416, allocations: 4.094 kB / 1.128 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.416, allocations: 9.062 kB / 1.128 GB, free: 35.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/1.416, allocations: 145 kB / 1.128 GB, free: 35.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/1.416, allocations: 99.22 kB / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/1.416, allocations: 11.75 kB / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.416, allocations: 0 / 1.128 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/1.416, allocations: 7.469 kB / 1.128 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/1.416, allocations: 10.16 kB / 1.128 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001792/1.417, allocations: 192.2 kB / 1.128 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.284e-06/1.417, allocations: 0 / 1.128 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002776/1.417, allocations: 57.2 kB / 1.128 GB, free: 35.25 MB / 0.7448 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) * 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.001766/1.419, allocations: 0.9694 MB / 1.129 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002613/1.419, allocations: 84.83 kB / 1.129 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.419, allocations: 0.8438 kB / 1.129 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/1.419, allocations: 38.66 kB / 1.129 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/1.419, allocations: 27.11 kB / 1.13 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/1.42, allocations: 305 kB / 1.13 GB, free: 34.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/1.421, allocations: 0.7281 MB / 1.131 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.807e-05/1.421, allocations: 22.02 kB / 1.131 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/1.421, allocations: 46.97 kB / 1.131 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.421, allocations: 0 / 1.131 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06725/1.488, allocations: 4.231 MB / 1.135 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/1.488, allocations: 189.9 kB / 1.135 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/3.405, allocations: 0 / 1.135 GB, free: 30.66 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)