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.398/1.398, allocations: 252 MB / 267.3 MB, free: 10.81 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.001235/0.001235, allocations: 167.6 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 2.107/2.107, allocations: 205.4 MB / 0.578 GB, free: 20.07 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.0008188/0.0008188, allocations: 90.28 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 10.41 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2565, allocations: 106.3 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001904/0.2585, allocations: 1.362 MB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006268/0.2591, allocations: 268 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.2592, allocations: 4 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.2593, allocations: 11.86 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.2594, allocations: 27.78 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2597, allocations: 59.94 kB / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.26, allocations: 223.4 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.2602, allocations: 53.53 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2603, allocations: 79.69 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2605, allocations: 111.5 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.2605, allocations: 8 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.342e-05/0.2606, allocations: 15.94 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.2607, allocations: 51.88 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2608, allocations: 113.1 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.261, allocations: 231.4 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.261, allocations: 0 / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.261, allocations: 0 / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2611, allocations: 0 / 0.9035 GB, free: 60.61 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.001192/0.2623, allocations: 0.542 MB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.2623, allocations: 12.03 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.2624, allocations: 46.73 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2625, allocations: 24.66 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2627, allocations: 239.8 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.2627, allocations: 16.36 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.2628, allocations: 20.31 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.2635, allocations: 309.7 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2635, allocations: 7.938 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2635, allocations: 15.97 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.2635, allocations: 4 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.2645, allocations: 343.5 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2658, allocations: 0.6949 MB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.2666, allocations: 315.7 kB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.2671, allocations: 208.7 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2671, allocations: 0 / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006623/0.2678, allocations: 309 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.2678, allocations: 0 / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001717/0.2695, allocations: 0.6971 MB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.2696, allocations: 55.41 kB / 0.9072 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2697, allocations: 186.4 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.2698, allocations: 37.69 kB / 0.9074 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.2698, allocations: 124.5 kB / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.2699, allocations: 71.09 kB / 0.9076 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.2699, allocations: 4 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.27, allocations: 334.8 kB / 0.9079 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.2705, allocations: 195.8 kB / 0.9081 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.271, allocations: 193 kB / 0.9083 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.2719, allocations: 380.9 kB / 0.9086 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2719, allocations: 3.938 kB / 0.9087 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001081/0.273, allocations: 472.8 kB / 0.9091 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.273, allocations: 7.984 kB / 0.9091 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.273, allocations: 3.938 kB / 0.9091 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2731, allocations: 8 kB / 0.9091 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.2735, allocations: 87.88 kB / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2735, allocations: 4 kB / 0.9092 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.2738, allocations: 67.78 kB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.2738, allocations: 7.938 kB / 0.9093 GB, free: 54.42 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.274, allocations: 167.5 kB / 0.9094 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.274, allocations: 19.72 kB / 0.9095 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.2741, allocations: 30.48 kB / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2741, allocations: 4 kB / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2741, allocations: 0 / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2741, allocations: 0 / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.2754, allocations: 0.8777 MB / 0.9103 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2755, allocations: 0 / 0.9103 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.2757, allocations: 63.88 kB / 0.9104 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2757, allocations: 0 / 0.9104 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.2758, allocations: 15.98 kB / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2758, allocations: 0 / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2758, allocations: 0 / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.2769, allocations: 0.5969 MB / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.277, allocations: 100.8 kB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.277, allocations: 12 kB / 0.9111 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.2773, allocations: 55.94 kB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2775, allocations: 39.94 kB / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.2775, allocations: 12 kB / 0.9112 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.2776, allocations: 135.2 kB / 0.9113 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2776, allocations: 4 kB / 0.9114 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002552/0.2779, allocations: 48 kB / 0.9114 GB, free: 52.15 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 (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.001385/0.2792, allocations: 1.161 MB / 0.9125 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.2804, allocations: 451.5 kB / 0.913 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2804, allocations: 4 kB / 0.913 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.2809, allocations: 236.2 kB / 0.9132 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.2813, allocations: 35.91 kB / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.2855, allocations: 2.955 MB / 0.9161 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2857, allocations: 0.7362 MB / 0.9168 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00014/0.2858, allocations: 37.92 kB / 0.9169 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.286, allocations: 63.42 kB / 0.9169 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.286, allocations: 0 / 0.9169 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.3304, allocations: 4.691 MB / 0.9215 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.3308, allocations: 226.8 kB / 0.9217 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.431, allocations: 0 / 0.9217 GB, free: 41.57 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)