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.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.295/1.295, allocations: 251.5 MB / 266.7 MB, free: 11.01 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.0008954/0.0008958, allocations: 171.7 kB / 325.8 MB, free: 2.703 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.314/1.314, allocations: 205 MB / 0.576 GB, free: 21 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.0006689/0.0006689, allocations: 89.88 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 12.19 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001139/0.15, allocations: 1.077 MB / 0.8973 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.1502, allocations: 109.3 kB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.1503, allocations: 0 / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.772e-05/0.1504, allocations: 4 kB / 0.8974 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.467e-05/0.1504, allocations: 4 kB / 0.8974 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.375e-05/0.1505, allocations: 7.922 kB / 0.8974 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.562e-05/0.1505, allocations: 20 kB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.83e-05/0.1506, allocations: 3.984 kB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.1507, allocations: 11.94 kB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.1507, allocations: 11.98 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1507, allocations: 3.938 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.1507, allocations: 4 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1508, allocations: 11.92 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.1508, allocations: 11.92 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.364e-05/0.1509, allocations: 24.17 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1509, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1509, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.1509, allocations: 4 kB / 0.8975 GB, free: 66.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002986/0.1512, allocations: 343.5 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1512, allocations: 8.031 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.211e-05/0.1513, allocations: 34.75 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.771e-05/0.1513, allocations: 4.844 kB / 0.8978 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.572e-05/0.1514, allocations: 176.4 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-06/0.1514, allocations: 384 / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1514, allocations: 4.375 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1516, allocations: 62.23 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1516, allocations: 3.938 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1516, allocations: 4 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1516, allocations: 3.938 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1517, allocations: 47.95 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.152, allocations: 284.8 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.1521, allocations: 38.5 kB / 0.8984 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.1522, allocations: 28.91 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.1522, allocations: 0 / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.068e-05/0.1522, allocations: 34.55 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1522, allocations: 0 / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002729/0.1525, allocations: 89.66 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.1525, allocations: 51.41 kB / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.1526, allocations: 110 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.1526, allocations: 25.7 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.1526, allocations: 88.08 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.1526, allocations: 7.844 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.1527, allocations: 13.7 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.1527, allocations: 322.7 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.1528, allocations: 19.98 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.1529, allocations: 23.98 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.153, allocations: 52.88 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.153, allocations: 0 / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001514/0.1532, allocations: 69.67 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.1532, allocations: 4 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1532, allocations: 0 / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1532, allocations: 3.984 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.1533, allocations: 12.03 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1533, allocations: 0 / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1533, allocations: 15.92 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1533, allocations: 0 / 0.8994 GB, free: 64.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.872e-05/0.1534, allocations: 113.8 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.1534, allocations: 4 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.1534, allocations: 7.125 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1534, allocations: 0 / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1535, allocations: 4.234 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1535, allocations: 0 / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.516e-05/0.1536, allocations: 165.6 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1536, allocations: 0 / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.1536, allocations: 11.98 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1536, allocations: 0 / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1536, allocations: 0 / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1536, allocations: 0 / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1536, allocations: 4 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1538, allocations: 175.4 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.1538, allocations: 81.14 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.1539, allocations: 0 / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1539, allocations: 11.98 kB / 0.8999 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.154, allocations: 3.938 kB / 0.8999 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.154, allocations: 0 / 0.8999 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.154, allocations: 79.28 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.154, allocations: 3.938 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001973/0.1542, allocations: 4 kB / 0.9 GB, free: 63.85 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002952/0.1545, allocations: 0.7046 MB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1547, allocations: 44 kB / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1547, allocations: 0 / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.1548, allocations: 31.92 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.155, allocations: 8 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.1558, allocations: 1.255 MB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.362e-05/0.1559, allocations: 0.6809 MB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.156, allocations: 4 kB / 0.9027 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.156, allocations: 15.47 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.156, allocations: 0 / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08661/0.2426, allocations: 1.051 MB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.2428, allocations: 227.8 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.758, allocations: 0 / 0.9039 GB, free: 59.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)