Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 70.28 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2279, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002436/0.2304, allocations: 1.081 MB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2321, allocations: 1.329 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.2322, allocations: 4 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.2324, allocations: 19.75 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.2325, allocations: 43.58 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.2333, allocations: 274.7 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.2338, allocations: 411.2 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.234, allocations: 81.27 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.2342, allocations: 159.6 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.2345, allocations: 163.4 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.2345, allocations: 40 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2347, allocations: 51.98 kB / 0.7872 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.2347, allocations: 63.81 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.2349, allocations: 155.3 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.2354, allocations: 419 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2354, allocations: 3.938 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2354, allocations: 0 / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.2354, allocations: 7.938 kB / 0.7878 GB, free: 8.934 MB / 0.6075 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.001224/0.2366, allocations: 0.627 MB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.2367, allocations: 8.031 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.2368, allocations: 54.72 kB / 0.7885 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.2369, allocations: 28.66 kB / 0.7885 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.2372, allocations: 283.7 kB / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.2373, allocations: 16.38 kB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.2373, allocations: 28.38 kB / 0.7888 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.2379, allocations: 234 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2379, allocations: 3.938 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.2379, allocations: 11.98 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.238, allocations: 4 kB / 0.7891 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/0.2387, allocations: 239.6 kB / 0.7893 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2399, allocations: 0.7458 MB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.2404, allocations: 214.4 kB / 0.7902 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.2408, allocations: 153.1 kB / 0.7904 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2408, allocations: 0 / 0.7904 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005817/0.2414, allocations: 270 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 2.014e-06/0.2414, allocations: 3.938 kB / 0.7906 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.00143/0.2428, allocations: 0.544 MB / 0.7912 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.2429, allocations: 63.33 kB / 0.7912 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.2431, allocations: 216.1 kB / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.2432, allocations: 37.7 kB / 0.7915 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.2433, allocations: 140.5 kB / 0.7916 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.2434, allocations: 67.19 kB / 0.7917 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.2435, allocations: 77.67 kB / 0.7917 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2437, allocations: 338.8 kB / 0.7921 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.2442, allocations: 183.7 kB / 0.7922 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004985/0.2447, allocations: 232.1 kB / 0.7925 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008114/0.2455, allocations: 393 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2455, allocations: 0 / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001159/0.2467, allocations: 0.5359 MB / 0.7934 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.2467, allocations: 67.41 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2468, allocations: 3.984 kB / 0.7934 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2468, allocations: 4 kB / 0.7934 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.2471, allocations: 55.89 kB / 0.7935 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2471, allocations: 0 / 0.7935 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.2476, allocations: 91.66 kB / 0.7936 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.2476, allocations: 19.98 kB / 0.7936 GB, free: 2.691 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001832/0.2478, allocations: 159.5 kB / 0.7937 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.2479, allocations: 27.7 kB / 0.7938 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.2479, allocations: 26.56 kB / 0.7938 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2479, allocations: 4 kB / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2479, allocations: 0 / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.248, allocations: 3.984 kB / 0.7938 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.2492, allocations: 0.7804 MB / 0.7946 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2492, allocations: 4 kB / 0.7946 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2494, allocations: 43.89 kB / 0.7946 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2494, allocations: 0 / 0.7946 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.2494, allocations: 4 kB / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2494, allocations: 0 / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.2495, allocations: 0 / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.2504, allocations: 0.5186 MB / 0.7951 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.2505, allocations: 96.77 kB / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.2505, allocations: 8 kB / 0.7952 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2507, allocations: 27.95 kB / 0.7952 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.2508, allocations: 27.97 kB / 0.7953 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.2509, allocations: 15.98 kB / 0.7953 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001351/0.251, allocations: 165.5 kB / 0.7954 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.251, allocations: 0 / 0.7954 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003848/0.2514, allocations: 64 kB / 0.7955 GB, free: 0.6328 MB / 0.6075 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 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001238/0.2527, allocations: 1.06 MB / 0.7965 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2537, allocations: 0.5224 MB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2538, allocations: 0 / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.2542, allocations: 188.3 kB / 0.7972 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.2546, allocations: 47.14 kB / 0.7973 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.2593, allocations: 3.178 MB / 0.8004 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.2597, allocations: 0.7557 MB / 0.8011 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.2598, allocations: 33.92 kB / 0.8011 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.26, allocations: 67.42 kB / 0.8012 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/0.26, allocations: 4 kB / 0.8012 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.2816, allocations: 6.364 MB / 0.8074 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.053, allocations: 15.31 kB / 0.8074 GB, free: 4.348 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)