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.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.414/1.414, allocations: 252 MB / 267.3 MB, free: 10.85 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.001371/0.001372, allocations: 168.9 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0009912/0.0009911, allocations: 70.45 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 11.91 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2822, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002212/0.2845, allocations: 1.276 MB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.2853, allocations: 220.2 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2854, allocations: 4 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.2856, allocations: 7.875 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.2857, allocations: 23.84 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2861, allocations: 39.95 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.2863, allocations: 163.5 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2865, allocations: 29.42 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.2867, allocations: 63.7 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2868, allocations: 63.73 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.2869, allocations: 8 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.984e-05/0.2869, allocations: 8 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.287, allocations: 31.89 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.2871, allocations: 85.3 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.2874, allocations: 139.8 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.2874, allocations: 3.984 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.486e-06/0.2874, allocations: 4 kB / 0.903 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2874, allocations: 0 / 0.903 GB, free: 61.21 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001041/0.2885, allocations: 0.4949 MB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.2885, allocations: 8.031 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.186e-05/0.2886, allocations: 42.73 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.2887, allocations: 16.75 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.2889, allocations: 220 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.2889, allocations: 8.375 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.289, allocations: 8.375 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.2896, allocations: 244.5 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2897, allocations: 3.938 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2897, allocations: 0 / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2897, allocations: 8 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.2905, allocations: 247.7 kB / 0.9043 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.2918, allocations: 0.8174 MB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.2924, allocations: 264.9 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.2928, allocations: 152.3 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2929, allocations: 7.922 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006016/0.2935, allocations: 243.4 kB / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.2935, allocations: 0 / 0.9057 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001293/0.2948, allocations: 433.3 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.2949, allocations: 166.2 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.295, allocations: 174.7 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.2951, allocations: 33.7 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.2951, allocations: 111.9 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.2952, allocations: 35.58 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.2952, allocations: 4 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.2953, allocations: 322.8 kB / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.2957, allocations: 127.9 kB / 0.9071 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.2961, allocations: 179 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.2968, allocations: 280 kB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2969, allocations: 4 kB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009025/0.2978, allocations: 325.4 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2978, allocations: 8 kB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2978, allocations: 4 kB / 0.9078 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2978, allocations: 0 / 0.9078 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.2981, allocations: 63.88 kB / 0.9079 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.2982, allocations: 16.08 kB / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.2984, allocations: 59.8 kB / 0.908 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.2985, allocations: 4 kB / 0.908 GB, free: 55.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001055/0.2986, allocations: 133.8 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.2986, allocations: 15.81 kB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.2987, allocations: 20.92 kB / 0.9081 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2987, allocations: 4 kB / 0.9081 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.2987, allocations: 3.938 kB / 0.9081 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2987, allocations: 4 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.2989, allocations: 225.6 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2989, allocations: 3.984 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.2991, allocations: 51.95 kB / 0.9084 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2991, allocations: 4 kB / 0.9084 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2992, allocations: 4 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2992, allocations: 4 kB / 0.9084 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2992, allocations: 7.875 kB / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.3, allocations: 356 kB / 0.9088 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3, allocations: 96.95 kB / 0.9089 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3001, allocations: 7.984 kB / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3003, allocations: 43.95 kB / 0.9089 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3004, allocations: 43.83 kB / 0.9089 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3004, allocations: 11.94 kB / 0.909 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.086e-05/0.3005, allocations: 132.3 kB / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3005, allocations: 0 / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000241/0.3008, allocations: 31.91 kB / 0.9091 GB, free: 54.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001107/0.3019, allocations: 0.8888 MB / 0.91 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.3028, allocations: 279.8 kB / 0.9103 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3028, allocations: 4 kB / 0.9103 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.3032, allocations: 160.5 kB / 0.9104 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3036, allocations: 32.02 kB / 0.9104 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.3069, allocations: 2.309 MB / 0.9127 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.3071, allocations: 0.7238 MB / 0.9134 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000103/0.3072, allocations: 20.62 kB / 0.9134 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.3073, allocations: 39.42 kB / 0.9135 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.3073, allocations: 0 / 0.9135 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.3229, allocations: 3.296 MB / 0.9167 GB, free: 46.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.3232, allocations: 223.9 kB / 0.9169 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.263, allocations: 2.531 kB / 0.9169 GB, free: 46.49 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)