Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_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.73/1.73, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.001107/0.001108, allocations: 185.9 kB / 371.6 MB, free: 3.434 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.749/1.749, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001009/0.001008, allocations: 98.75 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.525e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9466/1.268, allocations: 138.6 MB / 1.115 GB, free: 44.94 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.268, allocations: 67.25 kB / 1.115 GB, free: 44.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002288/1.27, allocations: 0.8183 MB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.213e-06/1.271, allocations: 0 / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.307e-05/1.271, allocations: 1.812 kB / 1.116 GB, free: 44.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004218/1.271, allocations: 347.8 kB / 1.116 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/1.271, allocations: 12.03 kB / 1.116 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/1.271, allocations: 34.59 kB / 1.116 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/1.271, allocations: 8.719 kB / 1.116 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/1.271, allocations: 172 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/1.271, allocations: 7.141 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/1.271, allocations: 7.062 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/1.272, allocations: 53.92 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.272, allocations: 0.5312 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/1.272, allocations: 1.031 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.272, allocations: 1.344 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/1.272, allocations: 18.44 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/1.272, allocations: 285.5 kB / 1.117 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/1.272, allocations: 28.95 kB / 1.117 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/1.272, allocations: 12.36 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/1.272, allocations: 0 / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.272, allocations: 37.88 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.272, allocations: 0 / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001821/1.273, allocations: 47.92 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/1.273, allocations: 59.36 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/1.273, allocations: 93.31 kB / 1.117 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.273, allocations: 25.7 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/1.273, allocations: 102.1 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/1.273, allocations: 4.062 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/1.273, allocations: 0 / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.016e-05/1.273, allocations: 313.6 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/1.273, allocations: 7.5 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/1.273, allocations: 7.125 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/1.273, allocations: 7.422 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.273, allocations: 0 / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.291e-05/1.273, allocations: 56.3 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.273, allocations: 11.94 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.273, allocations: 0 / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.273, allocations: 0 / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/1.273, allocations: 12.39 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.273, allocations: 0.5469 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/1.273, allocations: 11.95 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.273, allocations: 4.172 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 6.613e-05/1.273, allocations: 106.7 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/1.273, allocations: 4 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/1.273, allocations: 6.625 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.273, allocations: 0.5156 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.273, allocations: 0.9375 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.273, allocations: 0 / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/1.274, allocations: 167.2 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.274, allocations: 4.75 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/1.274, allocations: 19.02 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.274, allocations: 3.422 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/1.274, allocations: 0.6094 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.274, allocations: 0.5625 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.274, allocations: 0 / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/1.274, allocations: 145.6 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/1.274, allocations: 85.02 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/1.274, allocations: 5.906 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/1.274, allocations: 7.469 kB / 1.118 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/1.274, allocations: 10.78 kB / 1.118 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/1.274, allocations: 0.5625 kB / 1.118 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.071e-05/1.274, allocations: 83.22 kB / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.274, allocations: 0 / 1.118 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002094/1.274, allocations: 15.94 kB / 1.118 GB, free: 41.84 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003649/1.275, allocations: 0.6871 MB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.344e-05/1.275, allocations: 15.62 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.275, allocations: 4 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/1.275, allocations: 4 kB / 1.119 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/1.275, allocations: 10.89 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/1.275, allocations: 103.7 kB / 1.119 GB, free: 41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/1.276, allocations: 0.6804 MB / 1.12 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.262e-05/1.276, allocations: 11.41 kB / 1.12 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/1.276, allocations: 15.31 kB / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/1.276, allocations: 0 / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/1.289, allocations: 1.22 MB / 1.121 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.289, allocations: 160.2 kB / 1.121 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.936, allocations: 0 / 1.121 GB, free: 39.43 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)