Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006277/0.006277, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.541/1.541, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.711/1.711, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005155/0.0005155, allocations: 14.84 kB / 0.6744 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001054/0.2391, allocations: 0.689 MB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2406, allocations: 1.305 MB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.2407, allocations: 4 kB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.544e-05/0.2408, allocations: 15.8 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/0.2409, allocations: 31.77 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.2414, allocations: 235.6 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.2417, allocations: 295.3 kB / 0.7905 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2418, allocations: 41.55 kB / 0.7905 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2419, allocations: 99.67 kB / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.2421, allocations: 87.64 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.2421, allocations: 12 kB / 0.7907 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.2422, allocations: 31.92 kB / 0.7908 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.2422, allocations: 27.84 kB / 0.7908 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2424, allocations: 125.2 kB / 0.7909 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.2426, allocations: 315.2 kB / 0.7912 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2427, allocations: 4 kB / 0.7912 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2427, allocations: 0 / 0.7912 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2427, allocations: 0 / 0.7912 GB, free: 8.125 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007354/0.2434, allocations: 0.5372 MB / 0.7917 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2435, allocations: 8.031 kB / 0.7918 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.2435, allocations: 42.75 kB / 0.7918 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.2436, allocations: 20.75 kB / 0.7918 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2438, allocations: 256.5 kB / 0.7921 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2439, allocations: 12.38 kB / 0.7921 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.2439, allocations: 16.38 kB / 0.7921 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.2443, allocations: 194.4 kB / 0.7923 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2443, allocations: 3.938 kB / 0.7923 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2444, allocations: 0 / 0.7923 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2444, allocations: 4 kB / 0.7923 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.2449, allocations: 167.8 kB / 0.7924 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/0.2459, allocations: 0.8915 MB / 0.7933 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.2462, allocations: 184.9 kB / 0.7935 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.2465, allocations: 108.3 kB / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.2465, allocations: 4 kB / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004033/0.2469, allocations: 195.5 kB / 0.7938 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.2469, allocations: 4 kB / 0.7938 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0009382/0.2479, allocations: 337.4 kB / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.248, allocations: 158.2 kB / 0.7943 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2482, allocations: 202.9 kB / 0.7944 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.2482, allocations: 33.7 kB / 0.7945 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.2483, allocations: 140.3 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2483, allocations: 31.56 kB / 0.7946 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.2484, allocations: 25.7 kB / 0.7947 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2485, allocations: 326.8 kB / 0.795 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.2489, allocations: 135.9 kB / 0.7951 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.2493, allocations: 195.6 kB / 0.7953 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.2499, allocations: 334.8 kB / 0.7956 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2499, allocations: 0 / 0.7956 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009061/0.2508, allocations: 432.7 kB / 0.796 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.2509, allocations: 74.2 kB / 0.7961 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2509, allocations: 4 kB / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2509, allocations: 8.031 kB / 0.7961 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.2511, allocations: 47.95 kB / 0.7962 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2511, allocations: 3.938 kB / 0.7962 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.2516, allocations: 104.3 kB / 0.7963 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.2517, allocations: 16 kB / 0.7963 GB, free: 2.477 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001274/0.2518, allocations: 137.8 kB / 0.7964 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.2518, allocations: 15.81 kB / 0.7964 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.2519, allocations: 24.92 kB / 0.7964 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.2519, allocations: 7.922 kB / 0.7965 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2519, allocations: 4 kB / 0.7965 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2519, allocations: 0 / 0.7965 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.2521, allocations: 249.5 kB / 0.7967 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2521, allocations: 4 kB / 0.7967 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2523, allocations: 39.91 kB / 0.7967 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2523, allocations: 0 / 0.7967 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2523, allocations: 4 kB / 0.7967 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2523, allocations: 3.938 kB / 0.7967 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2523, allocations: 4 kB / 0.7967 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.253, allocations: 292.1 kB / 0.797 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.253, allocations: 96.83 kB / 0.7971 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.253, allocations: 0 / 0.7971 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2532, allocations: 35.91 kB / 0.7972 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.2532, allocations: 11.98 kB / 0.7972 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2533, allocations: 11.98 kB / 0.7972 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001085/0.2534, allocations: 152.4 kB / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2534, allocations: 0 / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000282/0.2537, allocations: 47.94 kB / 0.7974 GB, free: 1.25 MB / 0.6075 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 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008811/0.2546, allocations: 0.8224 MB / 0.7982 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008042/0.2554, allocations: 414.4 kB / 0.7986 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2554, allocations: 0 / 0.7986 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.2557, allocations: 104.3 kB / 0.7987 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2561, allocations: 39.75 kB / 0.7987 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.2597, allocations: 2.674 MB / 0.8013 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.26, allocations: 0.7356 MB / 0.802 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.407e-05/0.2601, allocations: 17.42 kB / 0.802 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.2601, allocations: 55.41 kB / 0.8021 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2601, allocations: 0 / 0.8021 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.2745, allocations: 4.485 MB / 0.8065 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.2748, allocations: 224.8 kB / 0.8067 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.959, allocations: 0 / 0.8067 GB, free: 7.59 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)