Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008722/0.0008722, allocations: 173 kB / 325.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000699/0.0006989, allocations: 94.56 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 9.406 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001203/0.16, allocations: 1.081 MB / 0.8973 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.1603, allocations: 157.2 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.1604, allocations: 0 / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.1604, allocations: 3.938 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.12e-05/0.1605, allocations: 0 / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.1606, allocations: 23.86 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.305e-05/0.1607, allocations: 31.98 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.946e-05/0.1607, allocations: 8.266 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.1608, allocations: 15.88 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.1608, allocations: 15.91 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1609, allocations: 4 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.1609, allocations: 4 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.1609, allocations: 11.98 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.161, allocations: 7.938 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.32e-05/0.161, allocations: 39.8 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.161, allocations: 3.938 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.161, allocations: 0 / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1611, allocations: 0 / 0.8976 GB, free: 66.66 MB / 0.6042 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.0003178/0.1614, allocations: 347.6 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1614, allocations: 8.031 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.404e-05/0.1614, allocations: 38.73 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.1615, allocations: 4.844 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.571e-05/0.1616, allocations: 180.3 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1616, allocations: 4.375 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.1616, allocations: 384 / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1618, allocations: 74.17 kB / 0.8982 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1618, allocations: 3.938 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1618, allocations: 0 / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1618, allocations: 0 / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.162, allocations: 59.94 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.1622, allocations: 280.8 kB / 0.8985 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1624, allocations: 46.48 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.1625, allocations: 32.91 kB / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1625, allocations: 0 / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.1625, allocations: 34.56 kB / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1625, allocations: 0 / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003123/0.1628, allocations: 101.6 kB / 0.8987 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.1628, allocations: 59.33 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.412e-05/0.1629, allocations: 101.9 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.1629, allocations: 25.7 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.1629, allocations: 100.1 kB / 0.899 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.163, allocations: 7.906 kB / 0.899 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.163, allocations: 9.719 kB / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.163, allocations: 318.8 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.1631, allocations: 23.97 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.1632, allocations: 27.98 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1633, allocations: 48.81 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1633, allocations: 3.938 kB / 0.8994 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/0.1635, allocations: 93.64 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.1635, allocations: 4 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1635, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1636, allocations: 4 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.1637, allocations: 11.98 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1637, allocations: 4.031 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1637, allocations: 4 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1637, allocations: 4 kB / 0.8996 GB, free: 64.4 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.1638, allocations: 113.8 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1639, allocations: 4 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.1639, allocations: 7.125 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.1639, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1639, allocations: 4 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1639, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.164, allocations: 173.7 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.164, allocations: 0 / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.1641, allocations: 15.98 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1641, allocations: 0 / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1641, allocations: 0 / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1641, allocations: 0 / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1641, allocations: 0 / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.1643, allocations: 187.5 kB / 0.9 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.1643, allocations: 81.09 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1644, allocations: 4 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.1644, allocations: 12.03 kB / 0.9001 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1645, allocations: 7.984 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1645, allocations: 3.938 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.019e-05/0.1645, allocations: 87.27 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1645, allocations: 0 / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001869/0.1647, allocations: 4 kB / 0.9002 GB, free: 63.62 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003335/0.1651, allocations: 0.7124 MB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1653, allocations: 59.92 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1653, allocations: 0 / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.1654, allocations: 23.97 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1656, allocations: 12.12 kB / 0.901 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009584/0.1665, allocations: 1.29 MB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.1666, allocations: 0.677 MB / 0.9029 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.1667, allocations: 8.031 kB / 0.9029 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.1667, allocations: 19.42 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1667, allocations: 0 / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2088/0.3755, allocations: 1.243 MB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.3758, allocations: 232.3 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.889, allocations: 0 / 0.9044 GB, free: 59.35 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)