Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.000885, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008871/0.008872, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005216, allocations: 13.41 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2234, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0008106/0.2242, allocations: 377.6 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.225, allocations: 0.7893 MB / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.225, allocations: 4 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.995e-05/0.2251, allocations: 3.938 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.391e-05/0.2252, allocations: 0 / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.941e-05/0.2253, allocations: 11.98 kB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.2253, allocations: 31.88 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.2254, allocations: 3.984 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.2255, allocations: 4 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.2255, allocations: 15.92 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2256, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.2256, allocations: 4 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.2256, allocations: 3.984 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.2257, allocations: 41.62 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.987e-05/0.2258, allocations: 23.89 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2258, allocations: 4 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2258, allocations: 4 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.2258, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.6075 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.000432/0.2262, allocations: 347.7 kB / 0.7896 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2263, allocations: 8.031 kB / 0.7896 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.2263, allocations: 34.75 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.2264, allocations: 0.9375 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2265, allocations: 176.2 kB / 0.7898 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2265, allocations: 8.375 kB / 0.7898 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2265, allocations: 4.375 kB / 0.7898 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.2267, allocations: 58.23 kB / 0.7899 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2267, allocations: 7.938 kB / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2268, allocations: 0 / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2268, allocations: 0 / 0.7899 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.227, allocations: 51.95 kB / 0.79 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.2274, allocations: 280.8 kB / 0.7902 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2275, allocations: 34.56 kB / 0.7903 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.2276, allocations: 24.91 kB / 0.7903 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.2276, allocations: 4 kB / 0.7903 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2276, allocations: 38.55 kB / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2276, allocations: 0 / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003624/0.228, allocations: 93.69 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2281, allocations: 51.41 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.2282, allocations: 109.8 kB / 0.7906 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2282, allocations: 25.7 kB / 0.7906 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.2282, allocations: 87.98 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2283, allocations: 7.984 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2283, allocations: 9.719 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2284, allocations: 318.8 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.2285, allocations: 20.02 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.2286, allocations: 19.98 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2287, allocations: 52.88 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2287, allocations: 0 / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001921/0.2289, allocations: 81.52 kB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.229, allocations: 4 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.229, allocations: 0 / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.229, allocations: 3.984 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.2291, allocations: 15.92 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2291, allocations: 0 / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.2292, allocations: 11.98 kB / 0.7912 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2292, allocations: 0 / 0.7912 GB, free: 7.93 MB / 0.6075 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 6.778e-05/0.2292, allocations: 117.8 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.2293, allocations: 0 / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2293, allocations: 7.125 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2293, allocations: 0 / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2293, allocations: 3.984 kB / 0.7913 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2293, allocations: 0 / 0.7913 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2295, allocations: 161.6 kB / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2295, allocations: 0 / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.2295, allocations: 15.98 kB / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2295, allocations: 0 / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2296, allocations: 0 / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2296, allocations: 0 / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2296, allocations: 0 / 0.7915 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2298, allocations: 175.4 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.2298, allocations: 77.11 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2299, allocations: 256 / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.2299, allocations: 15.98 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.23, allocations: 0 / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.23, allocations: 0 / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.23, allocations: 83.28 kB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.23, allocations: 4.031 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002024/0.2302, allocations: 7.906 kB / 0.7918 GB, free: 7.176 MB / 0.6075 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.0005026/0.2307, allocations: 0.7123 MB / 0.7925 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.2309, allocations: 43.97 kB / 0.7926 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.231, allocations: 4.094 kB / 0.7926 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.231, allocations: 15.98 kB / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2313, allocations: 7.984 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2326, allocations: 1.264 MB / 0.7938 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2329, allocations: 0.677 MB / 0.7945 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.2329, allocations: 7.984 kB / 0.7945 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.233, allocations: 11.44 kB / 0.7945 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of SimCode: time 4.8e-07/0.233, allocations: 3.938 kB / 0.7945 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.2435, allocations: 1.033 MB / 0.7955 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.2437, allocations: 203.8 kB / 0.7957 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.811, allocations: 0 / 0.7957 GB, free: 3.152 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)