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.001011/0.001011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001006/0.001006, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.36/1.36, allocations: 205.1 MB / 222 MB, free: 4.727 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.695/1.695, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001366/0.001366, allocations: 73.95 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2417, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001911/0.2437, allocations: 0.7068 MB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.2447, allocations: 0.7932 MB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.2447, allocations: 0 / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.2449, allocations: 11.86 kB / 0.7843 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.2449, allocations: 0 / 0.7843 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.245, allocations: 11.94 kB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.2451, allocations: 19.92 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2452, allocations: 8 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.193e-05/0.2453, allocations: 7.984 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.2454, allocations: 15.94 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2454, allocations: 0 / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.2454, allocations: 0 / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.2455, allocations: 7.984 kB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.2455, allocations: 11.94 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.791e-05/0.2456, allocations: 27.88 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2456, allocations: 0 / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2456, allocations: 0 / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2456, allocations: 0 / 0.7844 GB, free: 12.31 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.0005353/0.2462, allocations: 351.7 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.2462, allocations: 16.03 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.2463, allocations: 34.69 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.2463, allocations: 4.922 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2465, allocations: 168.3 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2465, allocations: 4.375 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2465, allocations: 4.375 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.2467, allocations: 54.23 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2467, allocations: 3.938 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2467, allocations: 3.984 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2468, allocations: 4 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.2469, allocations: 39.95 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.2473, allocations: 268.8 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.2475, allocations: 42.55 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.2475, allocations: 20.91 kB / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.2476, allocations: 0 / 0.7854 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.2476, allocations: 30.56 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.424e-06/0.2476, allocations: 0 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003441/0.248, allocations: 85.48 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.248, allocations: 51.41 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.2481, allocations: 105.8 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2481, allocations: 25.7 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.2482, allocations: 84.08 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2482, allocations: 11.91 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.2482, allocations: 9.719 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2483, allocations: 318.9 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.2484, allocations: 19.97 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.2485, allocations: 19.92 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2486, allocations: 36.77 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2486, allocations: 0 / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001743/0.2488, allocations: 65.72 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2488, allocations: 4 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2489, allocations: 4 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2489, allocations: 3.938 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.249, allocations: 7.984 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.249, allocations: 256 / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.249, allocations: 4 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.249, allocations: 4 kB / 0.7862 GB, free: 10.2 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.424e-05/0.2491, allocations: 121.8 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.2491, allocations: 0 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.2492, allocations: 7.125 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2492, allocations: 0 / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2492, allocations: 0 / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2492, allocations: 0 / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2493, allocations: 165.6 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2494, allocations: 0 / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.2494, allocations: 7.938 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2494, allocations: 4 kB / 0.7865 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2494, allocations: 4 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2494, allocations: 0 / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2494, allocations: 3.984 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.2497, allocations: 151.5 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.2497, allocations: 85 kB / 0.7867 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2497, allocations: 4.031 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.2498, allocations: 4 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.2498, allocations: 11.98 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.2498, allocations: 0 / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.2499, allocations: 79.28 kB / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2499, allocations: 0 / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002017/0.2501, allocations: 4 kB / 0.7868 GB, free: 9.465 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.0005075/0.2506, allocations: 0.6967 MB / 0.7875 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2508, allocations: 31.95 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2508, allocations: 0 / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.2509, allocations: 20.08 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2512, allocations: 0 / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2524, allocations: 1.24 MB / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.2527, allocations: 0.6849 MB / 0.7895 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.2527, allocations: 0 / 0.7895 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.2528, allocations: 15.42 kB / 0.7895 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2528, allocations: 4 kB / 0.7895 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.282, allocations: 1.086 MB / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.2822, allocations: 207.9 kB / 0.7907 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.886, allocations: 3.938 kB / 0.7907 GB, free: 5.406 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)