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.000953/0.0009531, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.36/1.36, allocations: 205.1 MB / 222 MB, free: 4.973 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.691/1.691, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001499/0.0015, allocations: 63.03 kB / 0.6709 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2382, allocations: 114.6 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002222/0.2405, allocations: 1.135 MB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2421, allocations: 1.363 MB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.2422, allocations: 4 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2423, allocations: 11.86 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.803e-05/0.2424, allocations: 35.66 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.2431, allocations: 253.5 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.2434, allocations: 351.3 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2436, allocations: 73.28 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.2437, allocations: 131.6 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.2439, allocations: 139.5 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.2439, allocations: 20 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.244, allocations: 31.98 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.2441, allocations: 63.75 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2443, allocations: 127.4 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.2447, allocations: 415 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2447, allocations: 0 / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2447, allocations: 0 / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2447, allocations: 0 / 0.7868 GB, free: 9.73 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.001076/0.2458, allocations: 0.6309 MB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2458, allocations: 8.031 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.178e-05/0.2459, allocations: 54.73 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.246, allocations: 32.64 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.2463, allocations: 271.7 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.2464, allocations: 28.3 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.2464, allocations: 20.38 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.247, allocations: 245.8 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.247, allocations: 7.938 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.247, allocations: 15.92 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2471, allocations: 4 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.2477, allocations: 235.5 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.249, allocations: 0.7457 MB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.2495, allocations: 214.4 kB / 0.7893 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.2499, allocations: 149.1 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2499, allocations: 7.984 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005296/0.2504, allocations: 257 kB / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.2504, allocations: 0 / 0.7896 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001324/0.2518, allocations: 0.5419 MB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2518, allocations: 55.41 kB / 0.7902 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.2521, allocations: 224.1 kB / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.2521, allocations: 33.7 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2522, allocations: 148.5 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.2523, allocations: 63.11 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.2524, allocations: 81.67 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2526, allocations: 334.8 kB / 0.7911 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.253, allocations: 187.7 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.2535, allocations: 228.2 kB / 0.7915 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000764/0.2543, allocations: 391.9 kB / 0.7918 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2543, allocations: 4 kB / 0.7918 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001085/0.2554, allocations: 0.5328 MB / 0.7924 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.2555, allocations: 71.39 kB / 0.7924 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2555, allocations: 4 kB / 0.7924 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2555, allocations: 0 / 0.7924 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.2558, allocations: 59.83 kB / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2558, allocations: 4 kB / 0.7925 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.2563, allocations: 91.77 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.2563, allocations: 15.98 kB / 0.7926 GB, free: 3.48 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.0001742/0.2565, allocations: 163.5 kB / 0.7928 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.2566, allocations: 31.7 kB / 0.7928 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.2566, allocations: 22.56 kB / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2566, allocations: 0 / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2566, allocations: 3.938 kB / 0.7928 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2566, allocations: 7.984 kB / 0.7928 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2578, allocations: 0.7881 MB / 0.7936 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2578, allocations: 0 / 0.7936 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.258, allocations: 35.95 kB / 0.7936 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.258, allocations: 4 kB / 0.7936 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2581, allocations: 4 kB / 0.7936 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2581, allocations: 4 kB / 0.7936 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2581, allocations: 3.984 kB / 0.7936 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.259, allocations: 0.503 MB / 0.7941 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.259, allocations: 100.8 kB / 0.7942 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.2591, allocations: 4 kB / 0.7942 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2593, allocations: 27.95 kB / 0.7943 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.2594, allocations: 27.97 kB / 0.7943 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.2594, allocations: 15.98 kB / 0.7943 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001215/0.2595, allocations: 161.5 kB / 0.7945 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2595, allocations: 0 / 0.7945 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003308/0.2599, allocations: 71.98 kB / 0.7945 GB, free: 1.418 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.001184/0.2611, allocations: 1.048 MB / 0.7955 GB, free: 352 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.2621, allocations: 0.5259 MB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2621, allocations: 0 / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.2625, allocations: 188.7 kB / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.263, allocations: 44.59 kB / 0.7963 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.2675, allocations: 3.231 MB / 0.7994 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.2678, allocations: 0.7519 MB / 0.8002 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.2679, allocations: 45.91 kB / 0.8002 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.2681, allocations: 67.42 kB / 0.8003 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2681, allocations: 0 / 0.8003 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.2847, allocations: 5.982 MB / 0.8061 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.2849, allocations: 216.5 kB / 0.8063 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.02, allocations: 0 / 0.8063 GB, free: 5.234 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)