Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 189 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008501/0.0008506, allocations: 101.2 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.000398, allocations: 11.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00116/0.2403, allocations: 0.6431 MB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2419, allocations: 1.223 MB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.2419, allocations: 4 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2421, allocations: 19.86 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.315e-05/0.2422, allocations: 35.88 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.2428, allocations: 216.9 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.243, allocations: 167.7 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2432, allocations: 29.73 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2433, allocations: 99.72 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.2434, allocations: 91.64 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2435, allocations: 12 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.2435, allocations: 23.98 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.2436, allocations: 31.89 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.2437, allocations: 57.58 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.2439, allocations: 243.6 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2439, allocations: 0 / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2439, allocations: 4 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2439, allocations: 3.938 kB / 0.9823 GB, free: 24.71 MB / 0.6198 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.0007347/0.2446, allocations: 0.537 MB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2447, allocations: 16.02 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.2447, allocations: 38.5 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.2448, allocations: 23.81 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.2451, allocations: 254.3 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2451, allocations: 12 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.2452, allocations: 20 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.2456, allocations: 186.6 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2456, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2456, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2456, allocations: 7.953 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.2461, allocations: 171.7 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009204/0.247, allocations: 0.8916 MB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.2473, allocations: 184.9 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2474, allocations: 3.938 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.2477, allocations: 203.5 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2477, allocations: 0 / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008521/0.2486, allocations: 329.5 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2487, allocations: 158.2 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2488, allocations: 203.6 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2489, allocations: 37.8 kB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.2489, allocations: 132.2 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.249, allocations: 31.62 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.249, allocations: 4 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.2491, allocations: 330.8 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.2494, allocations: 135.9 kB / 0.9861 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.2497, allocations: 195.5 kB / 0.9863 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.2501, allocations: 195.3 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2501, allocations: 0 / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008037/0.2509, allocations: 444.6 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.251, allocations: 67.39 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.251, allocations: 4 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.251, allocations: 4.094 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.2512, allocations: 35.97 kB / 0.987 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2512, allocations: 4 kB / 0.987 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.2517, allocations: 105.3 kB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.2517, allocations: 15.98 kB / 0.9871 GB, free: 19.39 MB / 0.6198 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,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.2518, allocations: 141.7 kB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2519, allocations: 24.27 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.2519, allocations: 16.94 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2519, allocations: 0 / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2519, allocations: 4 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.2519, allocations: 7.969 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.2521, allocations: 261.3 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2521, allocations: 8 kB / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.2523, allocations: 35.91 kB / 0.9876 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2523, allocations: 0 / 0.9876 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2523, allocations: 4 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2523, allocations: 0 / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2523, allocations: 4 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.2529, allocations: 338.9 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.2529, allocations: 92.92 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.253, allocations: 4 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2531, allocations: 31.92 kB / 0.988 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.2532, allocations: 19.97 kB / 0.988 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2532, allocations: 4 kB / 0.988 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.127e-05/0.2533, allocations: 148.4 kB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2533, allocations: 0 / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002905/0.2536, allocations: 47.94 kB / 0.9882 GB, free: 18.09 MB / 0.6198 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 (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.0008307/0.2544, allocations: 1.147 MB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007341/0.2552, allocations: 410.6 kB / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2552, allocations: 0 / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.2555, allocations: 112.3 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.2558, allocations: 37.84 kB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009801/0.2568, allocations: 1.83 MB / 0.9917 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2569, allocations: 0.7321 MB / 0.9924 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.257, allocations: 29.41 kB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.2571, allocations: 43.42 kB / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.2571, allocations: 0 / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.2721, allocations: 4.463 MB / 0.9968 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.2723, allocations: 216.3 kB / 0.997 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.992, allocations: 0 / 0.997 GB, free: 9.043 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)