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.0009019/0.000902, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001046/0.001046, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.315/1.315, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.585/1.585, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001511/0.001511, allocations: 69.84 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2385, allocations: 114.6 MB / 0.783 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002372/0.2409, allocations: 1.042 MB / 0.784 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2424, allocations: 1.269 MB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.2425, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.2426, allocations: 11.86 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.2427, allocations: 31.72 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.2434, allocations: 231.5 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.2437, allocations: 351.2 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2439, allocations: 49.55 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.244, allocations: 123.7 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2441, allocations: 103.6 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.2442, allocations: 32 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.2443, allocations: 43.92 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.2443, allocations: 39.86 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2445, allocations: 119.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.2448, allocations: 335.2 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2448, allocations: 0 / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2448, allocations: 0 / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2448, allocations: 0 / 0.7866 GB, free: 9.992 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.0008075/0.2456, allocations: 0.5605 MB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2457, allocations: 8.031 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.2457, allocations: 50.73 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.2458, allocations: 28.66 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.246, allocations: 256.5 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2461, allocations: 12.38 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.2461, allocations: 16.38 kB / 0.7876 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.2465, allocations: 174.4 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2465, allocations: 3.938 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2465, allocations: 4 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2465, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.247, allocations: 135.8 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.2479, allocations: 0.8799 MB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.2482, allocations: 161 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.2484, allocations: 88.3 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.2485, allocations: 4 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.2488, allocations: 191.4 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.2488, allocations: 0 / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0008554/0.2497, allocations: 285.5 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.2498, allocations: 166.6 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.25, allocations: 199 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.25, allocations: 37.69 kB / 0.7898 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.2501, allocations: 132.2 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.2502, allocations: 31.62 kB / 0.79 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2503, allocations: 49.69 kB / 0.79 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2504, allocations: 326.8 kB / 0.7903 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.2507, allocations: 119.9 kB / 0.7904 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.2511, allocations: 183.5 kB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.2517, allocations: 302.8 kB / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2517, allocations: 0 / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008269/0.2525, allocations: 408.5 kB / 0.7913 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.2526, allocations: 71.39 kB / 0.7913 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2526, allocations: 0 / 0.7913 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2526, allocations: 7.938 kB / 0.7914 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2528, allocations: 31.95 kB / 0.7914 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2528, allocations: 7.938 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.2532, allocations: 72.09 kB / 0.7915 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.2533, allocations: 23.92 kB / 0.7915 GB, free: 4.57 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.0001247/0.2534, allocations: 136.3 kB / 0.7916 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.2534, allocations: 19.81 kB / 0.7916 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.2535, allocations: 20.92 kB / 0.7917 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.2535, allocations: 7.938 kB / 0.7917 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2535, allocations: 0 / 0.7917 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2535, allocations: 0 / 0.7917 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.2537, allocations: 253.4 kB / 0.7919 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2537, allocations: 4 kB / 0.7919 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.2539, allocations: 27.91 kB / 0.7919 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2539, allocations: 4 kB / 0.7919 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2539, allocations: 0 / 0.7919 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2539, allocations: 11.94 kB / 0.7919 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2539, allocations: 0 / 0.7919 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.2545, allocations: 260.1 kB / 0.7922 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2545, allocations: 88.92 kB / 0.7923 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.2546, allocations: 4 kB / 0.7923 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2547, allocations: 23.91 kB / 0.7923 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.2548, allocations: 15.98 kB / 0.7923 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2548, allocations: 8 kB / 0.7923 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001085/0.2549, allocations: 152.4 kB / 0.7925 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2549, allocations: 0 / 0.7925 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002654/0.2552, allocations: 47.94 kB / 0.7925 GB, free: 3.402 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.0008398/0.256, allocations: 0.7952 MB / 0.7933 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007325/0.2568, allocations: 378.4 kB / 0.7937 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2568, allocations: 0 / 0.7937 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.2571, allocations: 96.38 kB / 0.7938 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2574, allocations: 47.69 kB / 0.7938 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.2608, allocations: 2.589 MB / 0.7963 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.2611, allocations: 0.724 MB / 0.797 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.735e-05/0.2612, allocations: 25.88 kB / 0.7971 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/0.2613, allocations: 51.42 kB / 0.7971 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2613, allocations: 0 / 0.7971 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9958/1.257, allocations: 4.715 MB / 0.8017 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/1.257, allocations: 216.3 kB / 0.8019 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/3.056, allocations: 4.438 kB / 0.8019 GB, free: 9.652 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)