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.331/1.331, allocations: 251.5 MB / 266.7 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.0009349/0.0009348, allocations: 177.4 kB / 325.8 MB, free: 2.672 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.551/1.551, allocations: 205 MB / 0.576 GB, free: 20.93 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.000829/0.0008291, allocations: 99.03 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 12.69 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001262/0.1531, allocations: 1.287 MB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003791/0.1535, allocations: 229.8 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.1536, allocations: 8 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.91e-05/0.1537, allocations: 7.922 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.1538, allocations: 15.8 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.154, allocations: 43.94 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1541, allocations: 155.5 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.1542, allocations: 33.66 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.1543, allocations: 59.77 kB / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.1544, allocations: 71.66 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.1544, allocations: 8 kB / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.1544, allocations: 4 kB / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.1545, allocations: 27.91 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.1546, allocations: 67.59 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1547, allocations: 147.4 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1547, allocations: 4 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1547, allocations: 0 / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.1547, allocations: 0 / 0.8983 GB, free: 65.86 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.0007833/0.1555, allocations: 494.9 kB / 0.8988 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1555, allocations: 8.031 kB / 0.8988 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.1556, allocations: 46.73 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.1556, allocations: 16.75 kB / 0.8989 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1558, allocations: 223.9 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1558, allocations: 4.375 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1558, allocations: 12.38 kB / 0.8991 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.1563, allocations: 236.9 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1563, allocations: 7.938 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1563, allocations: 4 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1563, allocations: 7.984 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.157, allocations: 239.7 kB / 0.8996 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009551/0.158, allocations: 0.8136 MB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.1585, allocations: 268.9 kB / 0.9006 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.1589, allocations: 148.3 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1589, allocations: 0 / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004695/0.1594, allocations: 247.4 kB / 0.901 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.1594, allocations: 0 / 0.901 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001127/0.1605, allocations: 429.4 kB / 0.9014 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1606, allocations: 174.1 kB / 0.9016 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.1607, allocations: 170.6 kB / 0.9017 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1607, allocations: 25.7 kB / 0.9017 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1608, allocations: 123.9 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1608, allocations: 31.69 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.1608, allocations: 21.72 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.1609, allocations: 326.8 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.1612, allocations: 135.9 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.1616, allocations: 164.1 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.1623, allocations: 280 kB / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1623, allocations: 0 / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007769/0.1631, allocations: 337.3 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1631, allocations: 7.938 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1631, allocations: 4 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1631, allocations: 4 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.1634, allocations: 67.88 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1634, allocations: 7.938 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.1636, allocations: 63.78 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1637, allocations: 8 kB / 0.9033 GB, free: 60.4 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 (pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,$whenCondition2,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,$whenCondition1) * 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 7.322e-05/0.1637, allocations: 129.8 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1638, allocations: 15.81 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.1638, allocations: 20.88 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1638, allocations: 4 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1638, allocations: 3.938 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1638, allocations: 3.984 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.164, allocations: 230 kB / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.164, allocations: 0 / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1642, allocations: 51.94 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1642, allocations: 4 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1642, allocations: 4 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1642, allocations: 4 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1642, allocations: 3.938 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007148/0.1649, allocations: 368 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.165, allocations: 85.02 kB / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.165, allocations: 4 kB / 0.9041 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1652, allocations: 55.94 kB / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.1653, allocations: 31.91 kB / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1653, allocations: 7.984 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.1654, allocations: 124.3 kB / 0.9044 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1654, allocations: 3.938 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002073/0.1656, allocations: 39.84 kB / 0.9044 GB, free: 59.12 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.000879/0.1665, allocations: 0.8928 MB / 0.9053 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007474/0.1673, allocations: 291.6 kB / 0.9055 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1673, allocations: 0 / 0.9055 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.1677, allocations: 164.2 kB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.168, allocations: 29.56 kB / 0.9057 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.1708, allocations: 2.304 MB / 0.908 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.1709, allocations: 0.7239 MB / 0.9087 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.476e-05/0.171, allocations: 20.62 kB / 0.9087 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.1711, allocations: 39.42 kB / 0.9087 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.1711, allocations: 0 / 0.9087 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/0.2904, allocations: 3.294 MB / 0.912 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.2906, allocations: 220.1 kB / 0.9122 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.159, allocations: 2.344 kB / 0.9122 GB, free: 51.11 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)