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.001415/0.001415, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 195 kB / 16.64 MB, free: 6.453 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.313/1.313, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.717/1.717, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001349/0.001349, allocations: 69.69 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2433, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002211/0.2456, allocations: 0.6386 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.2466, allocations: 0.7971 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.2466, allocations: 3.938 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.432e-05/0.2468, allocations: 0 / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.182e-05/0.2468, allocations: 11.94 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.2469, allocations: 7.984 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.247, allocations: 27.86 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2471, allocations: 4 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.045e-05/0.2472, allocations: 15.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.2472, allocations: 11.98 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2473, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-06/0.2473, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.2474, allocations: 15.92 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.2474, allocations: 11.94 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.2475, allocations: 27.89 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2475, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2475, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2475, allocations: 0 / 0.7852 GB, free: 11.65 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.0004506/0.248, allocations: 343.7 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.248, allocations: 12.03 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.2481, allocations: 38.73 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.2481, allocations: 0.9375 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2482, allocations: 176.2 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.2483, allocations: 384 / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.2483, allocations: 4.375 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2485, allocations: 58.22 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2485, allocations: 3.938 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2485, allocations: 4 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2485, allocations: 0 / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2487, allocations: 35.97 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.2491, allocations: 276.8 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2492, allocations: 30.56 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.2493, allocations: 20.91 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2493, allocations: 4 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2493, allocations: 30.56 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2493, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003362/0.2497, allocations: 85.48 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2497, allocations: 55.34 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2498, allocations: 106 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2499, allocations: 29.7 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.2499, allocations: 84.08 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.2499, allocations: 3.906 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.25, allocations: 17.72 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2501, allocations: 318.8 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.2502, allocations: 11.98 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.2503, allocations: 19.98 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.2504, allocations: 36.83 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2504, allocations: 256 / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001825/0.2506, allocations: 65.53 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2507, allocations: 4 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.2507, allocations: 4 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2507, allocations: 4.094 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.2508, allocations: 15.98 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2508, allocations: 0 / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.2509, allocations: 7.984 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.2509, allocations: 0 / 0.787 GB, free: 9.543 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 7.433e-05/0.251, allocations: 109.8 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.251, allocations: 4 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.251, allocations: 3.125 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.251, allocations: 4 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.251, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.251, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2512, allocations: 169.6 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2512, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.2513, allocations: 7.984 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2513, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-06/0.2513, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2513, allocations: 0 / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2513, allocations: 4 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.2515, allocations: 167.4 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.2516, allocations: 81.02 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2516, allocations: 0 / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.2517, allocations: 7.938 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.2517, allocations: 3.984 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2517, allocations: 4 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.2518, allocations: 87.31 kB / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2518, allocations: 0 / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003096/0.2521, allocations: 4 kB / 0.7876 GB, free: 8.801 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.000549/0.2526, allocations: 0.6929 MB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2529, allocations: 35.95 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2529, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.253, allocations: 15.98 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2533, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2547, allocations: 1.241 MB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.255, allocations: 0.6768 MB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.255, allocations: 7.984 kB / 0.7902 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.255, allocations: 11.44 kB / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.255, allocations: 0 / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.2747, allocations: 1.276 MB / 0.7915 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/7.741, allocations: 13.62 kB / 0.7915 GB, free: 4.797 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)