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.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.432/1.432, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.00115/0.00115, allocations: 172.6 kB / 326.5 MB, free: 2.258 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.155/2.155, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009986/0.0009986, allocations: 109.6 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.00048, allocations: 10 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2625, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001667/0.2642, allocations: 1.32 MB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004989/0.2647, allocations: 268.1 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.2648, allocations: 0 / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-05/0.2649, allocations: 19.86 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.265, allocations: 23.89 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.2653, allocations: 51.92 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.2654, allocations: 139.8 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.2656, allocations: 45.72 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.2657, allocations: 79.73 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2658, allocations: 107.6 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.2659, allocations: 8 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.9e-05/0.2659, allocations: 19.94 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.266, allocations: 47.81 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.266, allocations: 57.62 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2662, allocations: 171.5 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2662, allocations: 4 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2662, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.2662, allocations: 0 / 0.9024 GB, free: 61.5 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001051/0.2673, allocations: 0.5382 MB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2673, allocations: 15.97 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.2674, allocations: 46.55 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.2674, allocations: 27.67 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.2676, allocations: 230.7 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.2677, allocations: 23.97 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.2677, allocations: 16 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.2684, allocations: 297.4 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2684, allocations: 0 / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.2685, allocations: 11.98 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2685, allocations: 4 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.2694, allocations: 347.5 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2707, allocations: 0.7026 MB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.2714, allocations: 316.4 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2714, allocations: 0 / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006645/0.2721, allocations: 312.9 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.2721, allocations: 3.938 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001715/0.2739, allocations: 0.6893 MB / 0.9059 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.2739, allocations: 59.41 kB / 0.906 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.274, allocations: 186.3 kB / 0.9061 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2741, allocations: 33.7 kB / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.2742, allocations: 124.5 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.2742, allocations: 75.08 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.2742, allocations: 4 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.2743, allocations: 334.8 kB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.2748, allocations: 195.8 kB / 0.9069 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.2753, allocations: 193 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.2758, allocations: 192.2 kB / 0.9072 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2759, allocations: 0 / 0.9072 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001067/0.2769, allocations: 468.9 kB / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.277, allocations: 4 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.277, allocations: 3.938 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.277, allocations: 0 / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.2774, allocations: 99.86 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2774, allocations: 0 / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.2777, allocations: 67.78 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.2778, allocations: 12 kB / 0.9079 GB, free: 55.71 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: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001479/0.2779, allocations: 155.5 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.278, allocations: 23.72 kB / 0.908 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.278, allocations: 26.55 kB / 0.9081 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.278, allocations: 4 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.278, allocations: 4 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2781, allocations: 0 / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.2794, allocations: 0.8582 MB / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2794, allocations: 0 / 0.9089 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.2797, allocations: 67.88 kB / 0.909 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2797, allocations: 0 / 0.909 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.2797, allocations: 15.98 kB / 0.909 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2797, allocations: 0 / 0.909 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2797, allocations: 7.984 kB / 0.909 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2809, allocations: 0.5968 MB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.2809, allocations: 104.8 kB / 0.9097 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.281, allocations: 7.984 kB / 0.9097 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.2813, allocations: 55.94 kB / 0.9097 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2814, allocations: 47.86 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.2814, allocations: 16 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.761e-05/0.2815, allocations: 135.4 kB / 0.9099 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2815, allocations: 0 / 0.9099 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002697/0.2818, allocations: 52 kB / 0.91 GB, free: 53.45 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: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001271/0.2831, allocations: 1.155 MB / 0.9111 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.2841, allocations: 451.5 kB / 0.9115 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2842, allocations: 4 kB / 0.9115 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005449/0.2847, allocations: 240.2 kB / 0.9118 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.285, allocations: 40.03 kB / 0.9118 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.2878, allocations: 1.636 MB / 0.9134 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.288, allocations: 0.7442 MB / 0.9141 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.2881, allocations: 33.92 kB / 0.9142 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.2882, allocations: 63.41 kB / 0.9142 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of SimCode: time 1.202e-06/0.2882, allocations: 4 kB / 0.9142 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.3048, allocations: 4.654 MB / 0.9188 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.3051, allocations: 202 kB / 0.919 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.125, allocations: 0 / 0.919 GB, free: 44.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)