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.489/1.489, allocations: 252 MB / 267 MB, free: 10.98 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.001264/0.001264, allocations: 187.7 kB / 326.6 MB, free: 2.227 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.854/1.854, allocations: 205.4 MB / 0.5777 GB, free: 20.57 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.0008022/0.0008022, allocations: 85.23 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 8.969 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00146/0.2034, allocations: 1.327 MB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004779/0.2039, allocations: 268.1 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.204, allocations: 4 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.681e-05/0.2041, allocations: 11.86 kB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.2042, allocations: 19.8 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2044, allocations: 59.92 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.2046, allocations: 203.4 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2047, allocations: 45.72 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.2048, allocations: 79.73 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2049, allocations: 111.6 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.205, allocations: 12 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.897e-05/0.205, allocations: 8 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.2051, allocations: 47.83 kB / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.2051, allocations: 61.56 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2053, allocations: 171.6 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2053, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2053, allocations: 0 / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2053, allocations: 0 / 0.9027 GB, free: 61.9 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.00101/0.2063, allocations: 0.5421 MB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2064, allocations: 12.03 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.2064, allocations: 50.55 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.2065, allocations: 23.67 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.2067, allocations: 230.7 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.2067, allocations: 15.98 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.2068, allocations: 16 kB / 0.9035 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.2074, allocations: 305.3 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2074, allocations: 3.984 kB / 0.9038 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2075, allocations: 19.98 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2075, allocations: 4 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.2084, allocations: 347.5 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2096, allocations: 0.6949 MB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.2104, allocations: 321.3 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.2109, allocations: 212.6 kB / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2109, allocations: 4 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006536/0.2116, allocations: 312.9 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.924e-06/0.2116, allocations: 0 / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001665/0.2133, allocations: 0.6893 MB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.2133, allocations: 59.41 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2135, allocations: 178.4 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2135, allocations: 41.69 kB / 0.9066 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.2136, allocations: 124.5 kB / 0.9067 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2136, allocations: 71.09 kB / 0.9068 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.2136, allocations: 4 kB / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.2137, allocations: 338.8 kB / 0.9071 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.2142, allocations: 191.8 kB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.2147, allocations: 197 kB / 0.9075 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.2152, allocations: 184.2 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2152, allocations: 4 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001035/0.2162, allocations: 472.9 kB / 0.9081 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2162, allocations: 4 kB / 0.9081 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2163, allocations: 0 / 0.9081 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2163, allocations: 0 / 0.9081 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.2167, allocations: 99.86 kB / 0.9082 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2167, allocations: 0 / 0.9082 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.217, allocations: 67.78 kB / 0.9083 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.2171, allocations: 8 kB / 0.9083 GB, free: 55.91 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.0001524/0.2172, allocations: 159.5 kB / 0.9084 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.2173, allocations: 19.72 kB / 0.9085 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.2173, allocations: 26.56 kB / 0.9085 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.2173, allocations: 4 kB / 0.9085 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2174, allocations: 3.984 kB / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2174, allocations: 0 / 0.9085 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.2187, allocations: 0.866 MB / 0.9093 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2187, allocations: 3.938 kB / 0.9093 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.219, allocations: 67.88 kB / 0.9094 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.219, allocations: 0 / 0.9094 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.2191, allocations: 11.94 kB / 0.9094 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2191, allocations: 0 / 0.9094 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2191, allocations: 0 / 0.9094 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2202, allocations: 0.6008 MB / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2203, allocations: 100.8 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.2203, allocations: 11.98 kB / 0.9101 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.2206, allocations: 55.94 kB / 0.9102 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2207, allocations: 39.94 kB / 0.9102 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.2208, allocations: 19.98 kB / 0.9102 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.2209, allocations: 135.4 kB / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2209, allocations: 0 / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002634/0.2211, allocations: 55.95 kB / 0.9104 GB, free: 53.64 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.001364/0.2225, allocations: 1.153 MB / 0.9115 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.2236, allocations: 451.5 kB / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2236, allocations: 0 / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.2241, allocations: 244.2 kB / 0.9122 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.2245, allocations: 30.03 kB / 0.9122 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.2275, allocations: 1.636 MB / 0.9138 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.2277, allocations: 0.7442 MB / 0.9146 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.2278, allocations: 33.94 kB / 0.9146 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.228, allocations: 63.41 kB / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of SimCode: time 4.1e-07/0.228, allocations: 0 / 0.9146 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.2425, allocations: 4.682 MB / 0.9192 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/0.2427, allocations: 211.1 kB / 0.9194 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.988, allocations: 0 / 0.9194 GB, free: 44.45 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)