Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001219/0.001219, allocations: 183 kB / 372 MB, free: 10.27 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.764/1.764, allocations: 205.4 MB / 0.6307 GB, free: 9.891 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.0007854/0.0007853, allocations: 91.8 kB / 0.744 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003878, allocations: 12.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0007354/0.2029, allocations: 370.1 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.2039, allocations: 0.8205 MB / 0.9808 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.204, allocations: 4 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.139e-05/0.2041, allocations: 4 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.2041, allocations: 3.938 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.2043, allocations: 11.98 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.2044, allocations: 35.91 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.2045, allocations: 7.984 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.2045, allocations: 7.938 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.2046, allocations: 15.92 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2046, allocations: 3.938 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2046, allocations: 4 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.2047, allocations: 15.98 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.2047, allocations: 25.7 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.637e-05/0.2048, allocations: 27.94 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2048, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2048, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2048, allocations: 0 / 0.981 GB, free: 26.18 MB / 0.6198 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.0003969/0.2052, allocations: 355.5 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2053, allocations: 16.02 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.2053, allocations: 34.56 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.2053, allocations: 4 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2055, allocations: 182.9 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2055, allocations: 0 / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.2055, allocations: 4 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2057, allocations: 65.66 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2057, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2057, allocations: 4 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2058, allocations: 4 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.2059, allocations: 55.89 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.2063, allocations: 284.7 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2064, allocations: 46.55 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.2065, allocations: 32.91 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.2065, allocations: 0 / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.2065, allocations: 34.5 kB / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2065, allocations: 0 / 0.982 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003573/0.2069, allocations: 109.5 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2069, allocations: 55.36 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.207, allocations: 105.8 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.207, allocations: 25.7 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.2071, allocations: 88.16 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.2071, allocations: 11.89 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.2071, allocations: 4.125 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.2071, allocations: 310.8 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.2072, allocations: 27.97 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.2073, allocations: 23.98 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.2074, allocations: 23.98 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2074, allocations: 0 / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.2076, allocations: 81.66 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2076, allocations: 12.02 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2076, allocations: 0 / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2077, allocations: 4 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.2078, allocations: 8 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2078, allocations: 3.984 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.2078, allocations: 7.953 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2079, allocations: 4 kB / 0.9829 GB, free: 23.96 MB / 0.6198 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 () * Number of clocked 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 9.637e-05/0.208, allocations: 115.4 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.208, allocations: 7.906 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.208, allocations: 7.125 kB / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.208, allocations: 0 / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.208, allocations: 0 / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.208, allocations: 0 / 0.983 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2081, allocations: 165.6 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2082, allocations: 0 / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.2082, allocations: 28.17 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2082, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2083, allocations: 4 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2083, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2083, allocations: 3.938 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.2085, allocations: 179.5 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.2085, allocations: 77.11 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2085, allocations: 7.922 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.2086, allocations: 8 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.2087, allocations: 11.97 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2087, allocations: 0 / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.301e-05/0.2087, allocations: 83.28 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2087, allocations: 4.031 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002002/0.2089, allocations: 7.906 kB / 0.9836 GB, free: 23.18 MB / 0.6198 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 () * Number of clocked 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.0003834/0.2093, allocations: 0.7163 MB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.2095, allocations: 51.95 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2095, allocations: 4.094 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.2096, allocations: 19.98 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2099, allocations: 11.98 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.2106, allocations: 435.4 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.78e-05/0.2107, allocations: 0.6887 MB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.2107, allocations: 0 / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.2108, allocations: 19.42 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of SimCode: time 8.01e-07/0.2108, allocations: 0 / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2228, allocations: 1.243 MB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.2231, allocations: 213.9 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.804, allocations: 9.828 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)