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.45/1.45, allocations: 251.9 MB / 266.9 MB, free: 11 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.001164/0.001164, allocations: 180.8 kB / 326.5 MB, free: 2.207 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.25 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.001003/0.001003, allocations: 100.5 kB / 0.6821 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2693, allocations: 106.3 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001907/0.2713, allocations: 1.245 MB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004269/0.2717, allocations: 216.3 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.2718, allocations: 7.938 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.147e-05/0.2719, allocations: 7.922 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.272, allocations: 27.89 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.2722, allocations: 39.88 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2724, allocations: 95.81 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2725, allocations: 29.38 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.662e-05/0.2726, allocations: 59.81 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.2727, allocations: 63.73 kB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.2727, allocations: 4 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.199e-05/0.2728, allocations: 8 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.2728, allocations: 39.89 kB / 0.9019 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.2729, allocations: 45.62 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.273, allocations: 103.8 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.273, allocations: 0 / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.935e-06/0.273, allocations: 0 / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.026e-06/0.273, allocations: 3.938 kB / 0.9021 GB, free: 61.76 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.000914/0.2739, allocations: 0.4956 MB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.274, allocations: 12.03 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.274, allocations: 42.55 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.2741, allocations: 15.81 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.2743, allocations: 210.8 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2743, allocations: 8 kB / 0.9028 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.2743, allocations: 12 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.2749, allocations: 236 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2749, allocations: 0 / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.2749, allocations: 7.953 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2749, allocations: 0 / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.2757, allocations: 251.7 kB / 0.9033 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2767, allocations: 0.8221 MB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.2773, allocations: 260.9 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2774, allocations: 8 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/0.278, allocations: 231.6 kB / 0.9046 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.512e-06/0.278, allocations: 0 / 0.9046 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001238/0.2792, allocations: 437.3 kB / 0.905 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.2793, allocations: 166.2 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2794, allocations: 174.7 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2794, allocations: 33.64 kB / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.2795, allocations: 119.9 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.2795, allocations: 27.64 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.2796, allocations: 4 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.2796, allocations: 330.8 kB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.28, allocations: 127.9 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2804, allocations: 170.8 kB / 0.9061 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.2808, allocations: 127.8 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2808, allocations: 8 kB / 0.9063 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008197/0.2816, allocations: 329.3 kB / 0.9066 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2816, allocations: 7.938 kB / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2817, allocations: 0 / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2817, allocations: 4 kB / 0.9066 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.282, allocations: 71.91 kB / 0.9067 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.282, allocations: 4 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.2822, allocations: 55.8 kB / 0.9067 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.2823, allocations: 8 kB / 0.9067 GB, free: 56.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/0.2824, allocations: 138.8 kB / 0.9069 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.2824, allocations: 15.81 kB / 0.9069 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.2824, allocations: 20.92 kB / 0.9069 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2824, allocations: 8 kB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2825, allocations: 0 / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2825, allocations: 0 / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.2826, allocations: 233.5 kB / 0.9071 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2827, allocations: 0 / 0.9071 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.2829, allocations: 51.95 kB / 0.9072 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2829, allocations: 4 kB / 0.9072 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2829, allocations: 0 / 0.9072 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2829, allocations: 4 kB / 0.9072 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2829, allocations: 0 / 0.9072 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.2838, allocations: 406.9 kB / 0.9076 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.2838, allocations: 96.94 kB / 0.9077 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.2839, allocations: 4 kB / 0.9077 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2841, allocations: 51.91 kB / 0.9077 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.2842, allocations: 39.94 kB / 0.9077 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.2842, allocations: 7.938 kB / 0.9078 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.033e-05/0.2843, allocations: 123.2 kB / 0.9079 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2843, allocations: 0 / 0.9079 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002327/0.2845, allocations: 31.91 kB / 0.9079 GB, free: 55.33 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 (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.001382/0.2859, allocations: 1.217 MB / 0.9091 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.2872, allocations: 279.7 kB / 0.9094 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2872, allocations: 0 / 0.9094 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007189/0.288, allocations: 160.2 kB / 0.9095 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2883, allocations: 27.91 kB / 0.9095 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.2908, allocations: 1.793 MB / 0.9113 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.291, allocations: 0.7283 MB / 0.912 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001/0.2911, allocations: 24.62 kB / 0.912 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.58e-05/0.2912, allocations: 35.42 kB / 0.9121 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2912, allocations: 0 / 0.9121 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.3129, allocations: 3.254 MB / 0.9152 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.3132, allocations: 217.7 kB / 0.9154 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2, allocations: 0 / 0.9154 GB, free: 47.59 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)