Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.473/1.473, allocations: 287.4 MB / 302.6 MB, free: 8.215 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.0008632/0.0008632, allocations: 191.5 kB / 371.1 MB, free: 10.84 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.266/1.266, allocations: 205.4 MB / 0.6298 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.0007605/0.0007605, allocations: 100.3 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 14.66 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0007433/0.1655, allocations: 373.8 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008468/0.1664, allocations: 0.8167 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.1665, allocations: 3.938 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.894e-05/0.1666, allocations: 0 / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.1666, allocations: 4 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.1667, allocations: 23.91 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.506e-05/0.1668, allocations: 27.92 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.1669, allocations: 8 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.167, allocations: 11.98 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.167, allocations: 15.92 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.167, allocations: 3.938 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.1671, allocations: 4 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.1671, allocations: 7.969 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1671, allocations: 37.64 kB / 0.98 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.53e-05/0.1672, allocations: 15.95 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1672, allocations: 4 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1672, allocations: 0 / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1672, allocations: 4 kB / 0.9801 GB, free: 26.74 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.0003748/0.1676, allocations: 351.7 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1677, allocations: 12.03 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1677, allocations: 34.75 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.1677, allocations: 0.9375 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1679, allocations: 172.3 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1679, allocations: 4.375 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1679, allocations: 8.375 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1681, allocations: 74.16 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1681, allocations: 3.938 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1682, allocations: 0 / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1682, allocations: 0 / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.1684, allocations: 59.95 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1687, allocations: 280.7 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1689, allocations: 54.48 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.169, allocations: 24.91 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.169, allocations: 4 kB / 0.9811 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.169, allocations: 34.5 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.169, allocations: 4 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003405/0.1694, allocations: 105.6 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.1694, allocations: 55.53 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.251e-05/0.1695, allocations: 109.9 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.1695, allocations: 25.7 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.1695, allocations: 91.97 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.1695, allocations: 0 / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.1695, allocations: 4 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.1696, allocations: 318.8 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.1697, allocations: 23.98 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.1697, allocations: 23.97 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1699, allocations: 56.88 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1699, allocations: 0 / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001779/0.1701, allocations: 89.5 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1701, allocations: 4 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1701, allocations: 32 / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1701, allocations: 4 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.1702, allocations: 11.98 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1702, allocations: 0 / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.1703, allocations: 8 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.1703, allocations: 3.984 kB / 0.982 GB, free: 24.49 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 8.775e-05/0.1704, allocations: 125.8 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.1704, allocations: 4 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.1704, allocations: 3.125 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1705, allocations: 4 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1705, allocations: 0 / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1705, allocations: 0 / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1706, allocations: 169.6 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1706, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.1707, allocations: 11.98 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1707, allocations: 0 / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1707, allocations: 4 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1707, allocations: 4 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1707, allocations: 3.938 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.1709, allocations: 179.4 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.1709, allocations: 89 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.171, allocations: 0 / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.171, allocations: 4 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.1711, allocations: 7.984 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1711, allocations: 0 / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.1711, allocations: 83.53 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1711, allocations: 3.938 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001897/0.1713, allocations: 12.03 kB / 0.9827 GB, free: 23.71 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.0004124/0.1718, allocations: 0.7124 MB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.172, allocations: 51.95 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.172, allocations: 0 / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.1721, allocations: 32.05 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1723, allocations: 6.219 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.173, allocations: 438.4 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1731, allocations: 0.6809 MB / 0.9846 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.1732, allocations: 8 kB / 0.9846 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1732, allocations: 15.42 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.1732, allocations: 0 / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.1835, allocations: 1.222 MB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.1837, allocations: 196 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/1.557, allocations: 3.938 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)