Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001345, allocations: 181.8 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 97.8 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004267, allocations: 10.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2444, allocations: 106.3 MB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001608/0.2461, allocations: 1.049 MB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.2464, allocations: 109.9 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.2465, allocations: 0 / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.051e-05/0.2466, allocations: 3.938 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.491e-05/0.2466, allocations: 4 kB / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.802e-05/0.2467, allocations: 4 kB / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.307e-05/0.2468, allocations: 19.97 kB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.2468, allocations: 4 kB / 0.9013 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.2469, allocations: 11.92 kB / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.247, allocations: 11.98 kB / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.247, allocations: 0 / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.247, allocations: 4 kB / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.247, allocations: 0 / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.2471, allocations: 37.64 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.823e-05/0.2471, allocations: 19.94 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2471, allocations: 3.938 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2472, allocations: 0 / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2472, allocations: 4 kB / 0.9014 GB, free: 62.46 MB / 0.6042 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.0003869/0.2476, allocations: 339.4 kB / 0.9017 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2476, allocations: 8.031 kB / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.2476, allocations: 30.56 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.2477, allocations: 7.906 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2478, allocations: 175.2 kB / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2478, allocations: 4 kB / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.2478, allocations: 4 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.248, allocations: 61.61 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.248, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.248, allocations: 4 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2481, allocations: 4 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2482, allocations: 51.95 kB / 0.9021 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.2486, allocations: 272.9 kB / 0.9023 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2487, allocations: 42.5 kB / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.2488, allocations: 0 / 0.9024 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2488, allocations: 34.55 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.615e-06/0.2488, allocations: 3.984 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003363/0.2491, allocations: 97.62 kB / 0.9025 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2492, allocations: 55.36 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.2493, allocations: 101.8 kB / 0.9026 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.2493, allocations: 33.77 kB / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.2493, allocations: 84.14 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2493, allocations: 3.906 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2493, allocations: 0 / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.2494, allocations: 322.8 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.2495, allocations: 19.92 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.2496, allocations: 19.98 kB / 0.9031 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.2497, allocations: 23.98 kB / 0.9031 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2497, allocations: 3.938 kB / 0.9031 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001607/0.2498, allocations: 73.72 kB / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2498, allocations: 8 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2499, allocations: 0 / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2499, allocations: 0 / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.25, allocations: 11.98 kB / 0.9032 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.25, allocations: 0 / 0.9032 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.25, allocations: 15.97 kB / 0.9032 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.25, allocations: 0 / 0.9032 GB, free: 60.36 MB / 0.6042 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.319e-05/0.2501, allocations: 113.8 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.2501, allocations: 0 / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.2501, allocations: 11.12 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2501, allocations: 0 / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2502, allocations: 0 / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2502, allocations: 0 / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.2503, allocations: 161.6 kB / 0.9035 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2503, allocations: 4 kB / 0.9035 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.2503, allocations: 11.98 kB / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2503, allocations: 0 / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2503, allocations: 0 / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2504, allocations: 4 kB / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2504, allocations: 0 / 0.9035 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.2505, allocations: 167.5 kB / 0.9037 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.2506, allocations: 85.02 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.2506, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.2507, allocations: 8.25 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.2507, allocations: 7.984 kB / 0.9038 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2507, allocations: 11.97 kB / 0.9038 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.06e-05/0.2507, allocations: 79.28 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2507, allocations: 0 / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002179/0.251, allocations: 4 kB / 0.9039 GB, free: 59.61 MB / 0.6042 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.0003577/0.2513, allocations: 0.7085 MB / 0.9046 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2515, allocations: 47.98 kB / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2515, allocations: 0 / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.2516, allocations: 23.92 kB / 0.9046 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.2518, allocations: 9.828 kB / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.2525, allocations: 410.9 kB / 0.905 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2526, allocations: 0.6848 MB / 0.9057 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.2526, allocations: 3.984 kB / 0.9057 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2527, allocations: 7.438 kB / 0.9057 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2527, allocations: 0 / 0.9057 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01028/0.263, allocations: 1.017 MB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.2632, allocations: 199 kB / 0.9069 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/1.676, allocations: 3.938 kB / 0.9069 GB, free: 56.54 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)