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.358/1.358, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009171/0.0009172, allocations: 178 kB / 325.8 MB, free: 2.688 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.44/1.44, allocations: 205 MB / 0.576 GB, free: 20.96 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.0008634/0.0008632, allocations: 84.88 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 8.719 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001366/0.1553, allocations: 1.381 MB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.1558, allocations: 272.9 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1558, allocations: 0 / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1559, allocations: 19.86 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.156, allocations: 11.81 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1562, allocations: 67.91 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1564, allocations: 219.4 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1565, allocations: 65.73 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.1566, allocations: 79.69 kB / 0.8983 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1567, allocations: 111.6 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.1568, allocations: 8 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.1568, allocations: 12 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.1568, allocations: 43.83 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.1569, allocations: 95.42 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1571, allocations: 227.2 kB / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1571, allocations: 0 / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1571, allocations: 0 / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1571, allocations: 0 / 0.8987 GB, free: 65.45 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.0009346/0.1581, allocations: 0.5342 MB / 0.8993 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1581, allocations: 8.031 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.1581, allocations: 54.72 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.1582, allocations: 24.66 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1584, allocations: 247.8 kB / 0.8996 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1584, allocations: 12.38 kB / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.1584, allocations: 24.36 kB / 0.8996 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.1591, allocations: 301.7 kB / 0.8999 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1591, allocations: 3.938 kB / 0.8999 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.1591, allocations: 11.98 kB / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1591, allocations: 7.938 kB / 0.8999 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.16, allocations: 351.5 kB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1611, allocations: 0.6948 MB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.1619, allocations: 328.1 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.1623, allocations: 200.7 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1624, allocations: 4 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.163, allocations: 313 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.163, allocations: 0 / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001568/0.1646, allocations: 0.6932 MB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1646, allocations: 67.39 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1647, allocations: 182.4 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1648, allocations: 33.7 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1648, allocations: 128.5 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1649, allocations: 67.09 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1649, allocations: 37.7 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.165, allocations: 330.8 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.1654, allocations: 195.9 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.1659, allocations: 197 kB / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.1668, allocations: 380.9 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1668, allocations: 0 / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001015/0.1678, allocations: 472.8 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1678, allocations: 8 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1678, allocations: 3.938 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1679, allocations: 0 / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.1682, allocations: 95.86 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1683, allocations: 4 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.1685, allocations: 67.78 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1686, allocations: 12 kB / 0.9046 GB, free: 59.21 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 (extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * 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.0001081/0.1687, allocations: 151.5 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.1687, allocations: 19.72 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.1688, allocations: 34.48 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1688, allocations: 8 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1688, allocations: 0 / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1688, allocations: 4 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.17, allocations: 0.8737 MB / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.17, allocations: 0 / 0.9057 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.1703, allocations: 67.88 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1703, allocations: 4 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1704, allocations: 11.92 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1704, allocations: 4 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1704, allocations: 0 / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1714, allocations: 0.593 MB / 0.9063 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.1715, allocations: 100.8 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.1715, allocations: 7.984 kB / 0.9064 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.1718, allocations: 59.94 kB / 0.9065 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1719, allocations: 39.94 kB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.172, allocations: 15.94 kB / 0.9065 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.651e-05/0.172, allocations: 135.2 kB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1721, allocations: 0 / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00025/0.1723, allocations: 52 kB / 0.9067 GB, free: 56.94 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.001231/0.1735, allocations: 1.153 MB / 0.9078 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009972/0.1746, allocations: 451.5 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1746, allocations: 0 / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.1751, allocations: 240.2 kB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1754, allocations: 35.16 kB / 0.9085 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.1793, allocations: 2.952 MB / 0.9114 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.1795, allocations: 0.7401 MB / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.1796, allocations: 33.94 kB / 0.9122 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1797, allocations: 67.34 kB / 0.9122 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1797, allocations: 0 / 0.9122 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5543/0.734, allocations: 4.683 MB / 0.9168 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.7342, allocations: 220.9 kB / 0.917 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.959, allocations: 4 kB / 0.917 GB, free: 46.38 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)