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.001042/0.001042, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001231/0.001231, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.769/1.769, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0006446/0.0006447, allocations: 16.12 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3066, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001199/0.3078, allocations: 0.6622 MB / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.3094, allocations: 1.227 MB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.3095, allocations: 4 kB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.3096, allocations: 15.86 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.3097, allocations: 39.86 kB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.3103, allocations: 198.9 kB / 0.7893 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.3105, allocations: 175.7 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3107, allocations: 29.72 kB / 0.7895 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3108, allocations: 95.73 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.3109, allocations: 99.62 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.311, allocations: 12 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.3111, allocations: 23.98 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.3111, allocations: 19.92 kB / 0.7898 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.3112, allocations: 57.58 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3114, allocations: 251.5 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.3114, allocations: 0 / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3114, allocations: 4 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3115, allocations: 0 / 0.7901 GB, free: 8.949 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.0007523/0.3122, allocations: 0.537 MB / 0.7906 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3123, allocations: 12.03 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.3123, allocations: 38.55 kB / 0.7906 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.3124, allocations: 27.81 kB / 0.7907 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3127, allocations: 247.3 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3127, allocations: 12 kB / 0.7909 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.3128, allocations: 19.98 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.3132, allocations: 189.8 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3132, allocations: 3.938 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3132, allocations: 3.938 kB / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3132, allocations: 7.953 kB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.3137, allocations: 171.8 kB / 0.7913 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3147, allocations: 0.8916 MB / 0.7922 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.3151, allocations: 177 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3151, allocations: 7.938 kB / 0.7923 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.3155, allocations: 199.5 kB / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3155, allocations: 0 / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0009026/0.3164, allocations: 329.4 kB / 0.7928 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.3165, allocations: 162.4 kB / 0.793 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3167, allocations: 203 kB / 0.7932 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.3168, allocations: 29.7 kB / 0.7932 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.3169, allocations: 136.2 kB / 0.7934 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.3169, allocations: 31.62 kB / 0.7934 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.317, allocations: 4 kB / 0.7934 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3171, allocations: 330.8 kB / 0.7937 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.3175, allocations: 139.8 kB / 0.7938 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.318, allocations: 198.3 kB / 0.794 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.3184, allocations: 195.3 kB / 0.7942 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3185, allocations: 0 / 0.7942 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008595/0.3193, allocations: 444.7 kB / 0.7946 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.3194, allocations: 70.2 kB / 0.7947 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3194, allocations: 4 kB / 0.7947 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3194, allocations: 0 / 0.7947 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3196, allocations: 39.91 kB / 0.7947 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3197, allocations: 7.984 kB / 0.7947 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.3201, allocations: 103.9 kB / 0.7948 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.3201, allocations: 12 kB / 0.7949 GB, free: 3.621 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,$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.0001372/0.3203, allocations: 145.7 kB / 0.795 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.3203, allocations: 23.75 kB / 0.795 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.3204, allocations: 20.92 kB / 0.795 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3204, allocations: 0 / 0.795 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3204, allocations: 8 kB / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3204, allocations: 0 / 0.795 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.3206, allocations: 249.4 kB / 0.7953 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3206, allocations: 4 kB / 0.7953 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3208, allocations: 35.95 kB / 0.7953 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3208, allocations: 0 / 0.7953 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3208, allocations: 4 kB / 0.7953 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3208, allocations: 7.938 kB / 0.7953 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3208, allocations: 7.938 kB / 0.7953 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.3214, allocations: 323.5 kB / 0.7957 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.3215, allocations: 96.91 kB / 0.7957 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3215, allocations: 4 kB / 0.7957 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3217, allocations: 31.92 kB / 0.7958 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.3217, allocations: 23.91 kB / 0.7958 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3218, allocations: 7.938 kB / 0.7958 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001133/0.3219, allocations: 152.4 kB / 0.796 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3219, allocations: 0 / 0.796 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002743/0.3222, allocations: 47.94 kB / 0.796 GB, free: 2.32 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 (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.0009623/0.3231, allocations: 1.151 MB / 0.7971 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007584/0.3239, allocations: 406.6 kB / 0.7975 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3239, allocations: 0 / 0.7975 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.3242, allocations: 108.3 kB / 0.7976 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3245, allocations: 46.62 kB / 0.7977 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3257, allocations: 1.826 MB / 0.7994 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.326, allocations: 0.7321 MB / 0.8002 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.304e-05/0.3261, allocations: 25.41 kB / 0.8002 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.3262, allocations: 51.41 kB / 0.8002 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3262, allocations: 0 / 0.8002 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/0.5451, allocations: 4.451 MB / 0.8046 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003793/0.5456, allocations: 199 kB / 0.8048 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.177, allocations: 0 / 0.8048 GB, free: 9.285 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/linux/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) Environment - environmentSimulation: