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.679/1.679, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001564/0.001564, allocations: 173.1 kB / 371.8 MB, free: 10.29 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.605/1.605, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0009363/0.0009365, allocations: 98.91 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004014, allocations: 11.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0007771/0.2366, allocations: 354.2 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.2374, allocations: 0.7816 MB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.2375, allocations: 0 / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.509e-05/0.2376, allocations: 7.938 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.333e-05/0.2376, allocations: 3.938 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.68e-05/0.2377, allocations: 11.92 kB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.2378, allocations: 19.97 kB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.2379, allocations: 0 / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.2379, allocations: 7.938 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.238, allocations: 11.98 kB / 0.9806 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.238, allocations: 4 kB / 0.9806 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-06/0.238, allocations: 4 kB / 0.9806 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.2381, allocations: 7.922 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.2381, allocations: 33.7 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.572e-05/0.2381, allocations: 19.94 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2382, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2382, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2382, allocations: 0 / 0.9807 GB, free: 26.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000391/0.2386, allocations: 351.5 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2386, allocations: 12.02 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.2387, allocations: 30.56 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.231e-05/0.2387, allocations: 4 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2388, allocations: 171 kB / 0.9812 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2388, allocations: 4 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.2389, allocations: 0 / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.239, allocations: 65.61 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2391, allocations: 0 / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2391, allocations: 4 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2391, allocations: 0 / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2392, allocations: 43.97 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.2396, allocations: 284.8 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.2397, allocations: 42.5 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2397, allocations: 0 / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.2397, allocations: 30.56 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.2397, allocations: 3.938 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003082/0.2401, allocations: 97.7 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.2401, allocations: 51.41 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.577e-05/0.2401, allocations: 113.7 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.2401, allocations: 29.7 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.2402, allocations: 87.98 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.2402, allocations: 0 / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.2402, allocations: 128 / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.2403, allocations: 322.8 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.2403, allocations: 19.97 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.2404, allocations: 19.98 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.2405, allocations: 24.05 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2405, allocations: 3.938 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001642/0.2407, allocations: 69.66 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2407, allocations: 12.03 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2407, allocations: 0 / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2407, allocations: 0 / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.2408, allocations: 11.98 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2408, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.2409, allocations: 4 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2409, allocations: 3.953 kB / 0.9825 GB, free: 24.22 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.2409, allocations: 121.8 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.241, allocations: 3.906 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.241, allocations: 11.12 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.241, allocations: 0 / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.241, allocations: 0 / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.241, allocations: 0 / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2411, allocations: 157.6 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2411, allocations: 3.984 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.2412, allocations: 8 kB / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2412, allocations: 7.984 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.2412, allocations: 0 / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2412, allocations: 4 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2412, allocations: 0 / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.2414, allocations: 167.5 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.2415, allocations: 85.05 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.2415, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.2415, allocations: 15.98 kB / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.2416, allocations: 7.938 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.2416, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.2416, allocations: 83.27 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2416, allocations: 4.031 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002147/0.2419, allocations: 4 kB / 0.9832 GB, free: 23.46 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: 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 (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.0003869/0.2423, allocations: 0.7045 MB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2424, allocations: 39.97 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2424, allocations: 0 / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.2425, allocations: 32 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.2427, allocations: 5.438 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.2434, allocations: 411 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2435, allocations: 0.6848 MB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2436, allocations: 4 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.2436, allocations: 7.438 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2436, allocations: 0 / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.2545, allocations: 1.027 MB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.2547, allocations: 202.9 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.729, allocations: 0 / 0.9862 GB, free: 20.39 MB / 0.6198 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)