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.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001108/0.001108, allocations: 176.9 kB / 361.4 MB, free: 6.785 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.759/1.759, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0007931/0.000793, allocations: 95.34 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.915e-05, allocations: 0 / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6139/0.6139, allocations: 115.3 MB / 0.9645 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.7628, allocations: 136.8 MB / 1.098 GB, free: 2.938 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.7631, allocations: 75.19 kB / 1.098 GB, free: 2.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001596/0.7647, allocations: 0.6192 MB / 1.099 GB, free: 2.262 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7647, allocations: 0.6875 kB / 1.099 GB, free: 2.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.7647, allocations: 0 / 1.099 GB, free: 2.262 MB / 0.698 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.0003505/0.7651, allocations: 345.2 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7651, allocations: 8.031 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.7651, allocations: 5.656 kB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.7653, allocations: 179 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.7653, allocations: 4.688 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.7653, allocations: 0 / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.47e-05/0.7654, allocations: 16.44 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.7655, allocations: 42.34 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7655, allocations: 3.188 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.7655, allocations: 1.312 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.7655, allocations: 0 / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.7659, allocations: 252.1 kB / 1.1 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/0.7659, allocations: 27.05 kB / 1.1 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.766, allocations: 9.516 kB / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.766, allocations: 0 / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.766, allocations: 31.81 kB / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.766, allocations: 0 / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.7662, allocations: 46.16 kB / 1.1 GB, free: 1.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.7662, allocations: 51.91 kB / 1.1 GB, free: 1.117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.766e-05/0.7663, allocations: 90.03 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.7663, allocations: 25.7 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.7664, allocations: 85.73 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.7664, allocations: 7.906 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.7664, allocations: 0 / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7665, allocations: 319.4 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.7665, allocations: 8.625 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.7665, allocations: 3.938 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.7666, allocations: 8.797 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7666, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.922e-05/0.7666, allocations: 38.48 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7667, allocations: 5.25 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7667, allocations: 5.938 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7667, allocations: 0 / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.7668, allocations: 13.61 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7668, allocations: 1.375 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.7669, allocations: 13.7 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.7669, allocations: 0 / 1.1 GB, free: 0.4922 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.767, allocations: 105.6 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.231e-05/0.767, allocations: 42.86 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.7671, allocations: 0 / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.7671, allocations: 9.297 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.7671, allocations: 4 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7671, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.7671, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.7672, allocations: 138.2 kB / 1.101 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.7673, allocations: 4.156 kB / 1.101 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.7673, allocations: 15.42 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7673, allocations: 0 / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.7673, allocations: 0 / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.7673, allocations: 0 / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7674, allocations: 0 / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.7675, allocations: 139.4 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.7675, allocations: 85.14 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.7676, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.7676, allocations: 4 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.7677, allocations: 11.27 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.7677, allocations: 3.938 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.7677, allocations: 83.28 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7677, allocations: 3.938 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002177/0.768, allocations: 4 kB / 1.101 GB, free: 15.78 MB / 0.7136 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 () * 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 (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.0003734/0.7683, allocations: 0.6719 MB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.7684, allocations: 8 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7684, allocations: 0 / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.7685, allocations: 8 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.7686, allocations: 13.81 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.7689, allocations: 95.98 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.7692, allocations: 0.6807 MB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.7692, allocations: 1.688 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.7693, allocations: 11.42 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7693, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2715/1.041, allocations: 0.7039 MB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/1.041, allocations: 164.1 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.588, allocations: 3.047 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)